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

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

Issue 11144005: Change the log level to 3 for WebMediaPlayerMS::paint() (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/media/OWNERS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ms.h" 5 #include "webkit/media/webmediaplayer_ms.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 } 263 }
264 264
265 void WebMediaPlayerMS::setSize(const WebSize& size) { 265 void WebMediaPlayerMS::setSize(const WebSize& size) {
266 DCHECK(thread_checker_.CalledOnValidThread()); 266 DCHECK(thread_checker_.CalledOnValidThread());
267 // Don't need to do anything as we use the dimensions passed in via paint(). 267 // Don't need to do anything as we use the dimensions passed in via paint().
268 } 268 }
269 269
270 void WebMediaPlayerMS::paint(WebCanvas* canvas, 270 void WebMediaPlayerMS::paint(WebCanvas* canvas,
271 const WebRect& rect, 271 const WebRect& rect,
272 uint8_t alpha) { 272 uint8_t alpha) {
273 DVLOG(1) << "WebMediaPlayerMS::paint"; 273 DVLOG(3) << "WebMediaPlayerMS::paint";
274 DCHECK(thread_checker_.CalledOnValidThread()); 274 DCHECK(thread_checker_.CalledOnValidThread());
275 275
276 video_renderer_.Paint(current_frame_, canvas, rect, alpha); 276 video_renderer_.Paint(current_frame_, canvas, rect, alpha);
277 } 277 }
278 278
279 bool WebMediaPlayerMS::hasSingleSecurityOrigin() const { 279 bool WebMediaPlayerMS::hasSingleSecurityOrigin() const {
280 DCHECK(thread_checker_.CalledOnValidThread()); 280 DCHECK(thread_checker_.CalledOnValidThread());
281 return true; 281 return true;
282 } 282 }
283 283
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 GetClient()->readyStateChanged(); 397 GetClient()->readyStateChanged();
398 } 398 }
399 399
400 WebKit::WebMediaPlayerClient* WebMediaPlayerMS::GetClient() { 400 WebKit::WebMediaPlayerClient* WebMediaPlayerMS::GetClient() {
401 DCHECK(thread_checker_.CalledOnValidThread()); 401 DCHECK(thread_checker_.CalledOnValidThread());
402 DCHECK(client_); 402 DCHECK(client_);
403 return client_; 403 return client_;
404 } 404 }
405 405
406 } // namespace webkit_media 406 } // namespace webkit_media
OLDNEW
« no previous file with comments | « webkit/media/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698