Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: Source/WebKit/chromium/src/PageOverlay.cpp

Issue 12210085: Merge 141904 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/ChangeLog ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/PageOverlay.cpp
===================================================================
--- Source/WebKit/chromium/src/PageOverlay.cpp (revision 142272)
+++ Source/WebKit/chromium/src/PageOverlay.cpp (working copy)
@@ -30,6 +30,7 @@
#include "PageOverlay.h"
#include "GraphicsLayer.h"
+#include "GraphicsLayerChromium.h"
#include "GraphicsLayerClient.h"
#include "Page.h"
#include "PlatformContextSkia.h"
@@ -37,6 +38,7 @@
#include "WebPageOverlay.h"
#include "WebViewClient.h"
#include "WebViewImpl.h"
+#include <public/WebLayer.h>
using namespace WebCore;
@@ -141,6 +143,9 @@
m_viewImpl->setOverlayLayer(m_layer.get());
m_layer->setNeedsDisplay();
+
+ WebLayer* platformLayer = static_cast<GraphicsLayerChromium*>(m_layer.get())->platformLayer();
+ platformLayer->setShouldScrollOnMainThread(true);
#endif
}
« no previous file with comments | « Source/WebKit/chromium/ChangeLog ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698