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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp

Issue 1909033003: Add FrameView::updateAllLifecyclePhasesExceptPaint and use it in a few cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
index 5a98371c294ec28d9d6d2d7f33e14781d6089124..e31906fb813d1567178119d7c7d585e46fb49e4a 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
@@ -363,8 +363,7 @@ void SVGImage::drawInternal(SkCanvas* canvas, const SkPaint& paint, const FloatR
transform.scale(scale.width(), scale.height());
TransformRecorder transformRecorder(imagePicture.context(), *this, transform);
- // TODO(crbug.com/603230): Synchronized painting is unnecessary in this lifecycle update.
- view->updateAllLifecyclePhases();
+ view->updateAllLifecyclePhasesExceptPaint();
view->paint(imagePicture.context(), CullRect(enclosingIntRect(srcRect)));
ASSERT(!view->needsLayout());
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698