Changeset 141904 in webkit
- Timestamp:
- Feb 5, 2013 10:55:57 AM (11 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r141900 r141904 1 2013-02-05 Sami Kyostila <skyostil@chromium.org> 2 3 [chromium] Make overlay layers slow-scrolling 4 https://bugs.webkit.org/show_bug.cgi?id=108957 5 6 Reviewed by James Robinson. 7 8 Since overlay layers get inserted on top of everything else, we must 9 mark them slow-scrolling to prevent all scroll input events to the rest 10 of the page from getting blocked. This is also more correct because 11 generally the overlay contents need to be repainted whenever the scroll 12 offset changes, and with this patch the painting happens in sync with 13 page scrolling. 14 1 15 2013-02-05 Sheriff Bot <webkit.review.bot@gmail.com> 2 16 -
trunk/Source/WebKit/chromium/src/PageOverlay.cpp
r139829 r141904 31 31 32 32 #include "GraphicsLayer.h" 33 #include "GraphicsLayerChromium.h" 33 34 #include "GraphicsLayerClient.h" 34 35 #include "Page.h" … … 38 39 #include "WebViewClient.h" 39 40 #include "WebViewImpl.h" 41 #include <public/WebLayer.h> 40 42 41 43 using namespace WebCore; … … 142 144 m_viewImpl->setOverlayLayer(m_layer.get()); 143 145 m_layer->setNeedsDisplay(); 146 147 WebLayer* platformLayer = static_cast<GraphicsLayerChromium*>(m_layer.get())->platformLayer(); 148 platformLayer->setShouldScrollOnMainThread(true); 144 149 #endif 145 150 }
Note: See TracChangeset
for help on using the changeset viewer.