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

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

Issue 598483002: Fix WeakPtrFactory member ordering in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed order of friend class Created 6 years, 3 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/pepper_media_stream_audio_track_host.h
diff --git a/content/renderer/pepper/pepper_media_stream_audio_track_host.h b/content/renderer/pepper/pepper_media_stream_audio_track_host.h
index c1f33356f0b1f60259ca20d78f14b1a63969b697..0d3d33f62bee8e456c3a480baf24e584f43b035f 100644
--- a/content/renderer/pepper/pepper_media_stream_audio_track_host.h
+++ b/content/renderer/pepper/pepper_media_stream_audio_track_host.h
@@ -128,8 +128,6 @@ class PepperMediaStreamAudioTrackHost : public PepperMediaStreamTrackHostBase {
base::ThreadChecker audio_thread_checker_;
- base::WeakPtrFactory<AudioSink> weak_factory_;
-
// Number of buffers.
int32_t number_of_buffers_;
@@ -145,6 +143,8 @@ class PepperMediaStreamAudioTrackHost : public PepperMediaStreamTrackHostBase {
// Pending |Configure()| reply context.
ppapi::host::ReplyMessageContext pending_configure_reply_;
+ base::WeakPtrFactory<AudioSink> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(AudioSink);
};
« no previous file with comments | « content/renderer/npapi/webplugin_impl.cc ('k') | content/renderer/pepper/pepper_media_stream_audio_track_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698