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

Unified Diff: third_party/WebKit/WebCore/platform/graphics/MediaPlayer.cpp

Issue 39293: WebKit merge 41447:41498 [third_party/WebKit] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove CRLF Created 11 years, 10 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: third_party/WebKit/WebCore/platform/graphics/MediaPlayer.cpp
===================================================================
--- third_party/WebKit/WebCore/platform/graphics/MediaPlayer.cpp (revision 11154)
+++ third_party/WebKit/WebCore/platform/graphics/MediaPlayer.cpp (working copy)
@@ -93,7 +93,7 @@
virtual unsigned totalBytes() const { return 0; }
virtual unsigned bytesLoaded() const { return 0; }
- virtual void setRect(const IntRect&) { }
+ virtual void setSize(const IntSize&) { }
virtual void paint(GraphicsContext*, const IntRect&) { }
@@ -357,10 +357,10 @@
return m_private->totalBytes();
}
-void MediaPlayer::setRect(const IntRect& r)
+void MediaPlayer::setSize(const IntSize& size)
{
- m_rect = r;
- m_private->setRect(r);
+ m_size = size;
+ m_private->setSize(size);
}
bool MediaPlayer::visible() const

Powered by Google App Engine
This is Rietveld 408576698