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

Side by Side Diff: cc/resources/display_item_list.cc

Issue 1013463003: Update from https://crrev.com/320931 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « cc/quads/yuv_video_draw_quad.h.rej ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/resources/display_item_list.h" 5 #include "cc/resources/display_item_list.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "base/trace_event/trace_event_argument.h" 10 #include "base/trace_event/trace_event_argument.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 std::string b64_picture; 132 std::string b64_picture;
133 PictureDebugUtil::SerializeAsBase64(picture.get(), &b64_picture); 133 PictureDebugUtil::SerializeAsBase64(picture.get(), &b64_picture);
134 state->SetString("skp64", b64_picture); 134 state->SetString("skp64", b64_picture);
135 135
136 return state; 136 return state;
137 } 137 }
138 138
139 void DisplayItemList::EmitTraceSnapshot() const { 139 void DisplayItemList::EmitTraceSnapshot() const {
140 TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID( 140 TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID(
141 TRACE_DISABLED_BY_DEFAULT("cc.debug") "," TRACE_DISABLED_BY_DEFAULT( 141 TRACE_DISABLED_BY_DEFAULT("cc.debug.picture") ","
142 "devtools.timeline.picture"), 142 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.picture"),
143 "cc::DisplayItemList", this, AsValue()); 143 "cc::DisplayItemList", this, AsValue());
144 } 144 }
145 145
146 } // namespace cc 146 } // namespace cc
OLDNEW
« no previous file with comments | « cc/quads/yuv_video_draw_quad.h.rej ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698