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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp

Issue 2299223002: Compile under-invalidation checking in all builds (Closed)
Patch Set: Resolve conflict Created 4 years, 3 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/platform/graphics/paint/DrawingDisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
index 9d8ceb88b10617e0ed40e22265763f4de827aa01..06587565929ae14f0a1197e5f2eefeb5f8becacd 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
@@ -6,14 +6,11 @@
#include "platform/graphics/GraphicsContext.h"
#include "public/platform/WebDisplayItemList.h"
-#include "third_party/skia/include/core/SkPictureAnalyzer.h"
-
-#if ENABLE(ASSERT)
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkData.h"
+#include "third_party/skia/include/core/SkPictureAnalyzer.h"
#include "third_party/skia/include/core/SkStream.h"
-#endif
namespace blink {
@@ -51,7 +48,6 @@ void DrawingDisplayItem::dumpPropertiesAsDebugString(StringBuilder& stringBuilde
}
#endif
-#if ENABLE(ASSERT)
static bool picturesEqual(const SkPicture* picture1, const SkPicture* picture2)
{
if (picture1->approximateOpCount() != picture2->approximateOpCount())
@@ -127,6 +123,5 @@ bool DrawingDisplayItem::equals(const DisplayItem& other) const
// which should be treated as equal.
return bitmapsEqual(picture, otherPicture);
}
-#endif // ENABLE(ASSERT)
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698