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

Unified Diff: cc/layers/nine_patch_layer.cc

Issue 1586343003: cc: Add some tracing below LayerTreeHost::PushProperties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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.cc ('k') | cc/layers/painted_scrollbar_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/nine_patch_layer.cc
diff --git a/cc/layers/nine_patch_layer.cc b/cc/layers/nine_patch_layer.cc
index 575090cad9ec2b43054620ed0ea65bab96af19df..26bb58433e2456c6deef0f4c4b57c04c5ecbdcac 100644
--- a/cc/layers/nine_patch_layer.cc
+++ b/cc/layers/nine_patch_layer.cc
@@ -4,6 +4,7 @@
#include "cc/layers/nine_patch_layer.h"
+#include "base/trace_event/trace_event.h"
#include "cc/layers/nine_patch_layer_impl.h"
#include "cc/resources/scoped_ui_resource.h"
#include "cc/resources/ui_resource_bitmap.h"
@@ -52,6 +53,7 @@ void NinePatchLayer::SetFillCenter(bool fill_center) {
void NinePatchLayer::PushPropertiesTo(LayerImpl* layer) {
UIResourceLayer::PushPropertiesTo(layer);
+ TRACE_EVENT0("cc", "NinePatchLayer::PushPropertiesTo");
NinePatchLayerImpl* layer_impl = static_cast<NinePatchLayerImpl*>(layer);
if (!ui_resource_holder_) {
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/painted_scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698