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

Unified Diff: Source/core/paint/DrawingRecorder.cpp

Issue 698743002: [WIP] Adding support for <iframe>s to slimming paint. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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: Source/core/paint/DrawingRecorder.cpp
diff --git a/Source/core/paint/DrawingRecorder.cpp b/Source/core/paint/DrawingRecorder.cpp
index 35aada0788ab583a232f575d4e2a69d4d68b6e97..72ed5ab0da359a40aab4e3b4f42827eaf66ffd2c 100644
--- a/Source/core/paint/DrawingRecorder.cpp
+++ b/Source/core/paint/DrawingRecorder.cpp
@@ -53,8 +53,8 @@ DrawingRecorder::~DrawingRecorder()
ASSERT(displayList->bounds() == m_bounds);
OwnPtr<DrawingDisplayItem> drawingItem = adoptPtr(
new DrawingDisplayItem(displayList->picture(), m_bounds.location(), m_phase, m_renderer));
- ASSERT(m_renderer->view());
- m_renderer->view()->viewDisplayList().add(drawingItem.release());
+
+ ViewDisplayList::fromRenderObject(m_renderer).add(drawingItem.release());
chrishtr 2014/11/01 23:44:10 I hadn't mentioned it yet, but since your CL force
trchen 2014/11/02 10:36:46 Ah ha, that makes sense. I will revise as you plan
}
#ifndef NDEBUG

Powered by Google App Engine
This is Rietveld 408576698