summaryrefslogtreecommitdiffstats
path: root/cc/quads/tile_draw_quad.cc
diff options
context:
space:
mode:
authoryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-31 17:59:29 +0000
committeryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-31 17:59:29 +0000
commit21261ce03b92ce57e7efc19c681ff788e489de81 (patch)
tree25ff94bd4bd0b5181609638206f82ae83f6bf03c /cc/quads/tile_draw_quad.cc
parent1ecb50f178b0539c3bc83772b5b6688320b4d824 (diff)
downloadchromium_src-21261ce03b92ce57e7efc19c681ff788e489de81.zip
chromium_src-21261ce03b92ce57e7efc19c681ff788e489de81.tar.gz
chromium_src-21261ce03b92ce57e7efc19c681ff788e489de81.tar.bz2
Add builders for tracing event's structural arguments
The new classes allow building JSON-like structural arguments. Current implementation uses base::Value as backing store but that can be replaced in the future with something more efficient without changing client code. All clients of cc/debug/traced_value.h should eventually switch to use the new builders. BUG=361045 Review URL: https://codereview.chromium.org/380763002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286849 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/quads/tile_draw_quad.cc')
-rw-r--r--cc/quads/tile_draw_quad.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/quads/tile_draw_quad.cc b/cc/quads/tile_draw_quad.cc
index 839f0de..ea3a14a 100644
--- a/cc/quads/tile_draw_quad.cc
+++ b/cc/quads/tile_draw_quad.cc
@@ -4,6 +4,7 @@
#include "cc/quads/tile_draw_quad.h"
+#include "base/debug/trace_event_argument.h"
#include "base/logging.h"
#include "base/values.h"
#include "third_party/khronos/GLES2/gl2.h"
@@ -61,7 +62,7 @@ const TileDrawQuad* TileDrawQuad::MaterialCast(const DrawQuad* quad) {
return static_cast<const TileDrawQuad*>(quad);
}
-void TileDrawQuad::ExtendValue(base::DictionaryValue* value) const {
+void TileDrawQuad::ExtendValue(base::debug::TracedValue* value) const {
ContentDrawQuadBase::ExtendValue(value);
value->SetInteger("resource_id", resource_id);
}