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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp

Issue 2792863002: Revert of Skip paint property update and visual rect update if no geometry change (Closed)
Patch Set: Created 3 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/paint/PaintPropertyTreeBuilder.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
index 711e4a2a7f85ae9bb65b37a1313b5fc4fff33dea..62c79947d539e11a3f3b27ee4a95158bd4735da7 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
@@ -17,7 +17,6 @@
#include "core/layout/svg/SVGLayoutSupport.h"
#include "core/layout/svg/SVGResources.h"
#include "core/layout/svg/SVGResourcesCache.h"
-#include "core/paint/FindPaintOffsetAndVisualRectNeedingUpdate.h"
#include "core/paint/FindPropertiesNeedingUpdate.h"
#include "core/paint/ObjectPaintProperties.h"
#include "core/paint/PaintLayer.h"
@@ -1044,10 +1043,6 @@
void PaintPropertyTreeBuilder::updateForObjectLocationAndSize(
const LayoutObject& object,
PaintPropertyTreeBuilderContext& context) {
-#if DCHECK_IS_ON()
- FindPaintOffsetNeedingUpdateScope checkScope(object, context);
-#endif
-
if (object.isBoxModelObject()) {
updatePaintOffset(toLayoutBoxModelObject(object), context);
updatePaintOffsetTranslation(toLayoutBoxModelObject(object), context);

Powered by Google App Engine
This is Rietveld 408576698