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

Unified Diff: Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp

Issue 13959008: Remove NonCompositedContentHost (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adding back LCD text workaround Created 7 years, 8 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
Index: Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp
diff --git a/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp b/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp
index f3443110ee90085b950d650917c45e866c327951..b3b1bb3dc269623c5d29f39d7ae48a37b36b74e5 100644
--- a/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp
+++ b/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp
@@ -890,7 +890,7 @@ void GraphicsLayerChromium::notifyAnimationFinished(double)
void GraphicsLayerChromium::didScroll()
{
if (m_scrollableArea)
- m_scrollableArea->scrollToOffsetWithoutAnimation(IntPoint(m_layer->layer()->scrollPosition()));
+ m_scrollableArea->scrollToOffsetWithoutAnimation(m_scrollableArea->minimumScrollPosition() + toIntSize(m_layer->layer()->scrollPosition()));
}
void GraphicsLayerChromium::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const

Powered by Google App Engine
This is Rietveld 408576698