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

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

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.h
===================================================================
--- third_party/WebKit/WebCore/platform/graphics/MediaPlayer.h (revision 11154)
+++ third_party/WebKit/WebCore/platform/graphics/MediaPlayer.h (working copy)
@@ -77,11 +77,8 @@
FrameView* frameView() { return m_frameView; }
bool inMediaDocument();
- // FIXME: it would be better to just have a getter and setter for size.
- // This is currently an absolute rect, which is not appropriate for
- // content with transforms
- IntRect rect() const { return m_rect; }
- void setRect(const IntRect& r);
+ IntSize size() const { return m_size; }
+ void setSize(const IntSize& size);
void load(const String& url, const ContentType& contentType);
void cancelLoad();
@@ -146,7 +143,7 @@
OwnPtr<MediaPlayerPrivateInterface*> m_private;
void* m_currentMediaEngine;
FrameView* m_frameView;
- IntRect m_rect;
+ IntSize m_size;
bool m_visible;
float m_rate;
float m_volume;
« no previous file with comments | « third_party/WebKit/WebCore/platform/Scrollbar.h ('k') | third_party/WebKit/WebCore/platform/graphics/MediaPlayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698