summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_widget_fullscreen_pepper.h
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 21:45:32 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 21:45:32 +0000
commitfa48a62baee2e842d6479d786eeb2899deb18681 (patch)
treef7c42adacc574277f60782622c00ac78a1d5f11e /content/renderer/render_widget_fullscreen_pepper.h
parent83c2e233067108fb212ba4082ee02a9bff90d98d (diff)
downloadchromium_src-fa48a62baee2e842d6479d786eeb2899deb18681.zip
chromium_src-fa48a62baee2e842d6479d786eeb2899deb18681.tar.gz
chromium_src-fa48a62baee2e842d6479d786eeb2899deb18681.tar.bz2
Convert a bunch of pepper implementation to use base::Callback.
BUG=35223 TEST=ppapi ui_tests Review URL: http://codereview.chromium.org/8135010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104572 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_widget_fullscreen_pepper.h')
-rw-r--r--content/renderer/render_widget_fullscreen_pepper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/render_widget_fullscreen_pepper.h b/content/renderer/render_widget_fullscreen_pepper.h
index b8f095f..fdae363 100644
--- a/content/renderer/render_widget_fullscreen_pepper.h
+++ b/content/renderer/render_widget_fullscreen_pepper.h
@@ -5,7 +5,7 @@
#ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
#define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
-#include "base/task.h"
+#include "base/memory/weak_ptr.h"
#include "content/renderer/render_widget_fullscreen.h"
#include "content/renderer/gpu/renderer_gl_context.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h"
@@ -93,7 +93,7 @@ class RenderWidgetFullscreenPepper : public RenderWidgetFullscreen,
unsigned int buffer_;
unsigned int program_;
- ScopedRunnableMethodFactory<RenderWidgetFullscreenPepper> method_factory_;
+ base::WeakPtrFactory<RenderWidgetFullscreenPepper> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper);
};