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

Side by Side Diff: cc/layer_tree_host.cc

Issue 11453029: cc: Initialize boolean with false, not 0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « no previous file | 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 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/layer_tree_host.h" 5 #include "cc/layer_tree_host.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 } 139 }
140 } 140 }
141 } 141 }
142 142
143 LayerTreeSettings::~LayerTreeSettings() 143 LayerTreeSettings::~LayerTreeSettings()
144 { 144 {
145 } 145 }
146 146
147 RendererCapabilities::RendererCapabilities() 147 RendererCapabilities::RendererCapabilities()
148 : bestTextureFormat(0) 148 : bestTextureFormat(0)
149 , usingPartialSwap(0) 149 , usingPartialSwap(false)
150 , usingAcceleratedPainting(false) 150 , usingAcceleratedPainting(false)
151 , usingSetVisibility(false) 151 , usingSetVisibility(false)
152 , usingSwapCompleteCallback(false) 152 , usingSwapCompleteCallback(false)
153 , usingGpuMemoryManager(false) 153 , usingGpuMemoryManager(false)
154 , usingDiscardFramebuffer(false) 154 , usingDiscardFramebuffer(false)
155 , usingEglImage(false) 155 , usingEglImage(false)
156 , allowPartialTextureUpdates(false) 156 , allowPartialTextureUpdates(false)
157 , maxTextureSize(0) 157 , maxTextureSize(0)
158 { 158 {
159 } 159 }
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 else 974 else
975 layer->notifyAnimationFinished(wallClockTime.ToDoubleT()); 975 layer->notifyAnimationFinished(wallClockTime.ToDoubleT());
976 } 976 }
977 } 977 }
978 978
979 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex) 979 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex)
980 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime); 980 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime);
981 } 981 }
982 982
983 } // namespace cc 983 } // namespace cc
OLDNEW
« 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