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

Unified Diff: Source/core/inspector/InspectorOverlay.cpp

Issue 396803010: CSS Shape renders incorrectly when scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed the anonymous function from the test Created 6 years, 5 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 | « LayoutTests/inspector/elements/highlight-css-shapes-outside-scroll-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorOverlay.cpp
diff --git a/Source/core/inspector/InspectorOverlay.cpp b/Source/core/inspector/InspectorOverlay.cpp
index ee8ac0b5299b637f3e8254a39e465da21fac81a9..73a5804585a06fd0d058822315b489bc921ba831 100644
--- a/Source/core/inspector/InspectorOverlay.cpp
+++ b/Source/core/inspector/InspectorOverlay.cpp
@@ -494,7 +494,7 @@ static void appendPathCommandAndPoints(PathApplyInfo* info, const String& comman
info->array->addItem(JSONString::create(command));
for (unsigned i = 0; i < length; i++) {
point = info->shapeOutsideInfo->shapeToRendererPoint(points[i]);
- point = info->view->contentsToRootView(roundedIntPoint(info->renderer->localToAbsolute(point))) + info->rootView->scrollOffset();
+ point = info->view->contentsToRootView(roundedIntPoint(info->renderer->localToAbsolute(point)));
info->array->addItem(JSONBasicValue::create(point.x()));
info->array->addItem(JSONBasicValue::create(point.y()));
}
« no previous file with comments | « LayoutTests/inspector/elements/highlight-css-shapes-outside-scroll-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698