diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 17:28:43 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 17:28:43 +0000 |
commit | 38e0898607eea03649b7b07e9cf890af7dc33ac7 (patch) | |
tree | 6ac95fd496661a6e0718c349bba089144e0fef09 /chrome/renderer/pepper_devices.h | |
parent | 2a9662e31f18f77b856487b7266c70ccede557e0 (diff) | |
download | chromium_src-38e0898607eea03649b7b07e9cf890af7dc33ac7.zip chromium_src-38e0898607eea03649b7b07e9cf890af7dc33ac7.tar.gz chromium_src-38e0898607eea03649b7b07e9cf890af7dc33ac7.tar.bz2 |
FBTF: More dtor deinlining. (Can almost see the end!)
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/3962004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63527 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/pepper_devices.h')
-rw-r--r-- | chrome/renderer/pepper_devices.h | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/chrome/renderer/pepper_devices.h b/chrome/renderer/pepper_devices.h index 2a72f4e..912657a 100644 --- a/chrome/renderer/pepper_devices.h +++ b/chrome/renderer/pepper_devices.h @@ -27,6 +27,7 @@ class SkBitmap; class Graphics2DDeviceContext { public: explicit Graphics2DDeviceContext(WebPluginDelegatePepper* plugin_delegate); + ~Graphics2DDeviceContext(); NPError Initialize(gfx::Rect window_rect, const NPDeviceContext2DConfig* config, @@ -45,22 +46,7 @@ class Graphics2DDeviceContext { skia::PlatformCanvas* canvas() { return canvas_.get(); } private: - struct FlushCallbackData { - FlushCallbackData(NPDeviceFlushContextCallbackPtr f, - NPP n, - NPDeviceContext2D* c, - NPUserData* u) - : function(f), - npp(n), - context(c), - user_data(u) { - } - - NPDeviceFlushContextCallbackPtr function; - NPP npp; - NPDeviceContext2D* context; - NPUserData* user_data; - }; + struct FlushCallbackData; typedef std::vector<FlushCallbackData> FlushCallbackVector; WebPluginDelegatePepper* plugin_delegate_; @@ -97,11 +83,7 @@ class Graphics2DDeviceContext { class AudioDeviceContext : public AudioMessageFilter::Delegate, public base::DelegateSimpleThread::Delegate { public: - explicit AudioDeviceContext() - : context_(NULL), - stream_id_(0), - shared_memory_size_(0) { - } + explicit AudioDeviceContext(); virtual ~AudioDeviceContext(); NPError Initialize(AudioMessageFilter* filter, |