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

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

Issue 654253003: Error event shouldn't fire when image is updated on environment changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 5ce154376e5b1144603590d76c3a153c2afd6162..931237b484841ec631ef7eed7b7f43157e485722 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -1971,6 +1971,7 @@ bool FrameView::wasViewportResized()
RenderView* renderView = this->renderView();
if (!renderView)
return false;
+ ASSERT(renderView->style());
Mike West 2014/10/17 14:12:40 Seems unrelated to this CL. Perhaps split it out f
return (layoutSize(IncludeScrollbars) != m_lastViewportSize || renderView->style()->zoom() != m_lastZoomFactor);
}

Powered by Google App Engine
This is Rietveld 408576698