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

Side by Side Diff: Source/core/rendering/RenderLayer.cpp

Issue 177653010: Increase width of viewportConstrainedNotCompositingReasons (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderLayer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 3993 matching lines...) Expand 10 before | Expand all | Expand 10 after
4004 } else { 4004 } else {
4005 rect.append(localBoundingBox()); 4005 rect.append(localBoundingBox());
4006 rects.set(this, rect); 4006 rects.set(this, rect);
4007 } 4007 }
4008 } 4008 }
4009 } 4009 }
4010 4010
4011 DisableCompositingQueryAsserts::DisableCompositingQueryAsserts() 4011 DisableCompositingQueryAsserts::DisableCompositingQueryAsserts()
4012 : m_disabler(gCompositingQueryMode, CompositingQueriesAreAllowed) { } 4012 : m_disabler(gCompositingQueryMode, CompositingQueriesAreAllowed) { }
4013 4013
4014 COMPILE_ASSERT(1 << 3 >= RenderLayer::NumNotCompositedReasons, too_many_viewport _constrained_not_compositing_reasons);
enne (OOO) 2014/02/28 22:09:48 The duplicate 3 is here is unfortunate. Somebody
4015
4014 } // namespace WebCore 4016 } // namespace WebCore
4015 4017
4016 #ifndef NDEBUG 4018 #ifndef NDEBUG
4017 void showLayerTree(const WebCore::RenderLayer* layer) 4019 void showLayerTree(const WebCore::RenderLayer* layer)
4018 { 4020 {
4019 if (!layer) 4021 if (!layer)
4020 return; 4022 return;
4021 4023
4022 if (WebCore::LocalFrame* frame = layer->renderer()->frame()) { 4024 if (WebCore::LocalFrame* frame = layer->renderer()->frame()) {
4023 WTF::String output = externalRepresentation(frame, WebCore::RenderAsText ShowAllLayers | WebCore::RenderAsTextShowLayerNesting | WebCore::RenderAsTextSho wCompositedLayers | WebCore::RenderAsTextShowAddresses | WebCore::RenderAsTextSh owIDAndClass | WebCore::RenderAsTextDontUpdateLayout | WebCore::RenderAsTextShow LayoutState); 4025 WTF::String output = externalRepresentation(frame, WebCore::RenderAsText ShowAllLayers | WebCore::RenderAsTextShowLayerNesting | WebCore::RenderAsTextSho wCompositedLayers | WebCore::RenderAsTextShowAddresses | WebCore::RenderAsTextSh owIDAndClass | WebCore::RenderAsTextDontUpdateLayout | WebCore::RenderAsTextShow LayoutState);
4024 fprintf(stderr, "%s\n", output.utf8().data()); 4026 fprintf(stderr, "%s\n", output.utf8().data());
4025 } 4027 }
4026 } 4028 }
4027 4029
4028 void showLayerTree(const WebCore::RenderObject* renderer) 4030 void showLayerTree(const WebCore::RenderObject* renderer)
4029 { 4031 {
4030 if (!renderer) 4032 if (!renderer)
4031 return; 4033 return;
4032 showLayerTree(renderer->enclosingLayer()); 4034 showLayerTree(renderer->enclosingLayer());
4033 } 4035 }
4034 #endif 4036 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698