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

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

Issue 1632263002: Calculate and track display item opaqueness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix print output and add some commentary Created 4 years, 11 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/DrawingRecorder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp
index cb396f6723423a9d044ae42d07cbd58526842ef9..41ad7904eb094a25cc905f379632aa8d267ffe26 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp
@@ -36,6 +36,7 @@ DrawingRecorder::DrawingRecorder(GraphicsContext& context, const DisplayItemClie
: m_context(context)
, m_displayItemClient(displayItemClient)
, m_displayItemType(displayItemType)
+ , m_knownToBeOpaque(false)
#if ENABLE(ASSERT)
, m_displayItemPosition(m_context.paintController().newDisplayItemList().size())
, m_underInvalidationCheckingMode(DrawingDisplayItem::CheckPicture)
@@ -90,6 +91,7 @@ DrawingRecorder::~DrawingRecorder()
m_context.paintController().createAndAppend<DrawingDisplayItem>(m_displayItemClient
, m_displayItemType
, m_context.endRecording()
+ , m_knownToBeOpaque
#if ENABLE(ASSERT)
, m_underInvalidationCheckingMode
#endif

Powered by Google App Engine
This is Rietveld 408576698