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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp

Issue 1804963005: Avoid paintInvalidationContainer parameter of invalidatePaintIfNeeded() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/layout/LayoutEmbeddedObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
index 65421e3cb899a625fe83676d46cc65d4477730e6..e393783913289b69c0a2687aebfb4068e54c22ba 100644
--- a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
@@ -139,11 +139,9 @@ void LayoutEmbeddedObject::layout()
clearNeedsLayout();
}
-PaintInvalidationReason LayoutEmbeddedObject::invalidatePaintIfNeeded(
- PaintInvalidationState& paintInvalidationState, const LayoutBoxModelObject& newPaintInvalidationContainer)
+PaintInvalidationReason LayoutEmbeddedObject::invalidatePaintIfNeeded(const PaintInvalidationState& paintInvalidationState)
{
- PaintInvalidationReason reason =
- LayoutPart::invalidatePaintIfNeeded(paintInvalidationState, newPaintInvalidationContainer);
+ PaintInvalidationReason reason = LayoutPart::invalidatePaintIfNeeded(paintInvalidationState);
Widget* widget = this->widget();
if (widget && widget->isPluginView())
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.h ('k') | third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698