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

Unified Diff: webkit/renderer/compositor_bindings/web_content_layer_impl.cc

Issue 16903005: Add layer name into frame viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move pulling name to Update Created 7 years, 5 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 | « webkit/renderer/compositor_bindings/web_content_layer_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/renderer/compositor_bindings/web_content_layer_impl.cc
diff --git a/webkit/renderer/compositor_bindings/web_content_layer_impl.cc b/webkit/renderer/compositor_bindings/web_content_layer_impl.cc
index eb92d982b5d876100935431c346687cbf5b090a0..fa508e7058808d44f26108583ae28136a170b9c5 100644
--- a/webkit/renderer/compositor_bindings/web_content_layer_impl.cc
+++ b/webkit/renderer/compositor_bindings/web_content_layer_impl.cc
@@ -66,6 +66,10 @@ void WebContentLayerImpl::PaintContents(SkCanvas* canvas,
*opaque = web_opaque;
}
+std::string WebContentLayerImpl::DebugName() {
+ return UTF16ToASCII(client_->debugName());
enne (OOO) 2013/07/18 17:50:23 This will assert if the name is not ascii: https:/
jamesr 2013/07/18 18:03:42 You probably want to call utf8() on the string and
+}
+
void WebContentLayerImpl::DidChangeLayerCanUseLCDText() {
// It is important to make this comparison because the LCD text status
// here can get out of sync with that in the layer.
« no previous file with comments | « webkit/renderer/compositor_bindings/web_content_layer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698