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

Unified Diff: content/renderer/gpu/compositor_software_output_device.h

Issue 35883006: Add debugging info for software compositor swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
Index: content/renderer/gpu/compositor_software_output_device.h
diff --git a/content/renderer/gpu/compositor_software_output_device.h b/content/renderer/gpu/compositor_software_output_device.h
index e658dfb386f47407a9f3215bb46d44e97330baa3..ce21b2b8d5b5c8431829c98801eb516a015a1da8 100644
--- a/content/renderer/gpu/compositor_software_output_device.h
+++ b/content/renderer/gpu/compositor_software_output_device.h
@@ -49,6 +49,7 @@ private:
void* memory() const { return mem_->memory(); }
base::SharedMemoryHandle handle() const { return mem_->handle(); }
+ base::SharedMemory* shared_memory() const { return mem_.get(); }
bool free() const { return free_; }
void SetFree(bool free) { free_ = free; }

Powered by Google App Engine
This is Rietveld 408576698