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

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

Issue 2022563002: Remove display item scope (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/DisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
index eef5deeb1c383e1180b0cacc99b4901e82ffe4bf..70d1c8aea48210ef8f93c7bb60097a3e7bb2f4b5 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp
@@ -9,7 +9,7 @@ namespace blink {
struct SameSizeAsDisplayItem {
virtual ~SameSizeAsDisplayItem() { } // Allocate vtable pointer.
void* pointer;
- int ints[2]; // Make sure other fields are packed into two ints.
+ int i;
#ifndef NDEBUG
WTF::String m_debugString;
#endif
@@ -251,8 +251,6 @@ void DisplayItem::dumpPropertiesAsDebugString(WTF::StringBuilder& stringBuilder)
stringBuilder.append('"');
if (m_skippedCache)
stringBuilder.append(", skippedCache: true");
- if (m_scope)
- stringBuilder.append(String::format(", scope: %d", m_scope));
}
#endif

Powered by Google App Engine
This is Rietveld 408576698