Commit dec26ee4 authored by rniwa@webkit.org's avatar rniwa@webkit.org
Browse files

Windows build fix after r154658.

* page/AutoscrollController.cpp:
(WebCore::getMainFrame):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 095b544b
2013-08-26 Ryosuke Niwa <rniwa@webkit.org>
Windows build fix after r154658.
* page/AutoscrollController.cpp:
(WebCore::getMainFrame):
2013-08-26 Andreas Kling <akling@apple.com>
 
Page::mainFrame() should return a reference.
......@@ -52,7 +52,7 @@ static const double autoscrollInterval = 0.05;
static Frame* getMainFrame(Frame* frame)
{
Page* page = frame->page();
return page ? page->mainFrame() : 0;
return page ? &page->mainFrame() : 0;
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment