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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 165443003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/frame/NavigatorID.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 204d8aaa7ac60db0695e3797a7f54f7e85d79f1c..9fa663b8f6c9fee3d0b2efbefc5144178bef48b7 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -2030,6 +2030,7 @@ void FrameView::performPostLayoutTasks()
m_frame->selection().setCaretRectNeedsUpdate();
m_frame->selection().updateAppearance();
+ ASSERT(m_frame->document());
if (m_nestedLayoutCount <= 1) {
if (m_firstLayoutCallbackPending) {
m_firstLayoutCallbackPending = false;
@@ -2049,7 +2050,7 @@ void FrameView::performPostLayoutTasks()
}
}
- FontFaceSet::didLayout(m_frame->document());
+ FontFaceSet::didLayout(*m_frame->document());
updateWidgetPositions();
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/frame/NavigatorID.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698