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

Unified Diff: cc/layers/picture_layer_impl.cc

Issue 263653002: Move traced_value.* from cc/debug/ to base/debug/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added BASE_EXPORT Created 6 years, 7 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 | « cc/layers/layer_impl.cc ('k') | cc/quads/draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl.cc
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index bd3b9dc590e413bf998aa6325f95d8fd36386239..e1e631aca81c5b5c4bb40c7104016f381eba91ad 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -7,12 +7,12 @@
#include <algorithm>
#include <limits>
+#include "base/debug/traced_value.h"
#include "base/time/time.h"
#include "cc/base/math_util.h"
#include "cc/base/util.h"
#include "cc/debug/debug_colors.h"
#include "cc/debug/micro_benchmark_impl.h"
-#include "cc/debug/traced_value.h"
#include "cc/layers/append_quads_data.h"
#include "cc/layers/quad_sink.h"
#include "cc/quads/checkerboard_draw_quad.h"
@@ -1323,8 +1323,10 @@ void PictureLayerImpl::AsValueInto(base::DictionaryValue* state) const {
scoped_ptr<base::DictionaryValue> tile_data(new base::DictionaryValue);
tile_data->Set("geometry_rect",
MathUtil::AsValue(iter.geometry_rect()).release());
- if (*iter)
- tile_data->Set("tile", TracedValue::CreateIDRef(*iter).release());
+ if (*iter) {
+ tile_data->Set("tile",
+ base::debug::TracedValue::CreateIDRef(*iter).release());
+ }
coverage_tiles->Append(tile_data.release());
}
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/quads/draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698