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

Side by Side Diff: webkit/media/webmediaplayer_impl.cc

Issue 9117001: For readability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/media/webmediaplayer_impl.h" 5 #include "webkit/media/webmediaplayer_impl.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 return client_; 934 return client_;
935 } 935 }
936 936
937 void WebMediaPlayerImpl::IncrementExternallyAllocatedMemory() { 937 void WebMediaPlayerImpl::IncrementExternallyAllocatedMemory() {
938 DCHECK_EQ(main_loop_, MessageLoop::current()); 938 DCHECK_EQ(main_loop_, MessageLoop::current());
939 incremented_externally_allocated_memory_ = true; 939 incremented_externally_allocated_memory_ = true;
940 v8::V8::AdjustAmountOfExternalAllocatedMemory(kPlayerExtraMemory); 940 v8::V8::AdjustAmountOfExternalAllocatedMemory(kPlayerExtraMemory);
941 } 941 }
942 942
943 } // namespace webkit_media 943 } // namespace webkit_media
944
OLDNEW
« base/i18n/number_formatting.cc ('K') | « webkit/media/webmediaplayer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698