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

Unified Diff: content/renderer/pepper/content_decryptor_delegate.h

Issue 26308002: Fix some WeakPtrFactory members that aren't last (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix weak ptr initialization 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/pepper/content_decryptor_delegate.h
diff --git a/content/renderer/pepper/content_decryptor_delegate.h b/content/renderer/pepper/content_decryptor_delegate.h
index f58ef9f60731015080c901c4e28568147961fb0a..26989face35ea22500ef6ae9b0a8d03f5b091373 100644
--- a/content/renderer/pepper/content_decryptor_delegate.h
+++ b/content/renderer/pepper/content_decryptor_delegate.h
@@ -177,15 +177,15 @@ class ContentDecryptorDelegate {
std::queue<uint32_t> free_buffers_;
- base::WeakPtrFactory<ContentDecryptorDelegate> weak_ptr_factory_;
- base::WeakPtr<ContentDecryptorDelegate> weak_this_;
-
// Keep track of audio parameters.
media::SampleFormat audio_sample_format_;
int audio_samples_per_second_;
int audio_channel_count_;
int audio_bytes_per_frame_;
+ base::WeakPtr<ContentDecryptorDelegate> weak_this_;
+ base::WeakPtrFactory<ContentDecryptorDelegate> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ContentDecryptorDelegate);
};
« no previous file with comments | « chrome/renderer/pepper/pepper_flash_renderer_host.cc ('k') | content/renderer/pepper/content_decryptor_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698