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

Unified Diff: content/common/gpu/image_transport_surface.h

Issue 11293194: ui: Prefer +/- operators to apply offsets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: floats Created 8 years, 1 month 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/common/gpu/image_transport_surface.h
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h
index 7b6d1df4ce6b404de4fde33035beb8a756a23ed1..99de4bb89aacc01bd16ccc01b054bacb87f0c9c4 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -88,7 +88,9 @@ class ImageTransportSurface {
DISALLOW_COPY_AND_ASSIGN(ImageTransportSurface);
};
-class ImageTransportHelper : public IPC::Listener {
+class ImageTransportHelper
+ : public IPC::Listener,
+ public base::SupportsWeakPtr<ImageTransportHelper> {
public:
// Takes weak pointers to objects that outlive the helper.
ImageTransportHelper(ImageTransportSurface* surface,

Powered by Google App Engine
This is Rietveld 408576698