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

Unified Diff: cc/output/output_surface.cc

Issue 1324453008: Implement the getRequestDetails api in chrome side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@skia_expose
Patch Set: Using correct hash. Created 5 years, 3 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 | « DEPS ('k') | skia/ext/SkTraceMemoryDump_chrome.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface.cc
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc
index efa6d13b8d720dda4dd77f1f99c1091bb063c5ff..c1a1ec2d19f76d10c3a9866e7dad9e7160c8241c 100644
--- a/cc/output/output_surface.cc
+++ b/cc/output/output_surface.cc
@@ -91,6 +91,12 @@ class SkiaGpuTraceMemoryDump : public SkTraceMemoryDump {
NOTREACHED();
}
+ LevelOfDetail getRequestedDetails() const override {
+ // TODO(ssid): Use MemoryDumpArgs to create light dumps when requested
+ // (crbug.com/499731).
+ return kObjectsBreakdowns_LevelOfDetail;
+ }
+
private:
// Helper to create allocator dumps.
base::trace_event::MemoryAllocatorDump* GetOrCreateAllocatorDump(
« no previous file with comments | « DEPS ('k') | skia/ext/SkTraceMemoryDump_chrome.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698