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

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

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.cc
diff --git a/content/renderer/pepper/pepper_media_stream_audio_track_host.cc b/content/renderer/pepper/pepper_media_stream_audio_track_host.cc
index 021a74069a44937a859fa322aa8a66eb4ddbb79d..72279f652900a42b057ab63455de1d00ef67aef8 100644
--- a/content/renderer/pepper/pepper_media_stream_audio_track_host.cc
+++ b/content/renderer/pepper/pepper_media_stream_audio_track_host.cc
@@ -72,10 +72,10 @@ PepperMediaStreamAudioTrackHost::AudioSink::AudioSink(
active_buffer_offset_(0),
buffers_generation_(0),
main_message_loop_proxy_(base::MessageLoopProxy::current()),
- weak_factory_(this),
number_of_buffers_(kDefaultNumberOfBuffers),
bytes_per_second_(0),
- user_buffer_duration_(kDefaultDuration) {}
+ user_buffer_duration_(kDefaultDuration),
+ weak_factory_(this) {}
PepperMediaStreamAudioTrackHost::AudioSink::~AudioSink() {
DCHECK_EQ(main_message_loop_proxy_, base::MessageLoopProxy::current());
« no previous file with comments | « content/renderer/pepper/pepper_media_stream_audio_track_host.h ('k') | content/renderer/pepper/pepper_plugin_instance_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698