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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 622823002: Make root layer DCHECK in RWC::layout less general (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index c8f39fce32e49443b30e3f7703453d42da3f9266..eee9a2ecacd7c8fda6321d52f9144435eb0434ce 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -786,8 +786,8 @@ void RenderWidgetCompositor::BeginMainFrame(const cc::BeginFrameArgs& args) {
void RenderWidgetCompositor::Layout() {
widget_->webwidget()->layout();
- DCHECK(layer_tree_host_->root_layer());
if (temporary_copy_output_request_) {
+ DCHECK(layer_tree_host_->root_layer());
layer_tree_host_->root_layer()->RequestCopyOfOutput(
temporary_copy_output_request_.Pass());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698