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

Unified Diff: Source/WebCore/platform/efl/RenderThemeEfl.cpp

Issue 8758009: Merge 100408 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « Source/WebCore/html/shadow/MediaControlElements.cpp ('k') | Source/WebCore/platform/gtk/RenderThemeGtk.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/efl/RenderThemeEfl.cpp
===================================================================
--- Source/WebCore/platform/efl/RenderThemeEfl.cpp (revision 101562)
+++ Source/WebCore/platform/efl/RenderThemeEfl.cpp (working copy)
@@ -1202,8 +1202,7 @@
if (!node || !node->isMediaControlElement())
return false;
- MediaControlPlayButtonElement* button = static_cast<MediaControlPlayButtonElement*>(node);
- if (!emitMediaButtonSignal(PlayPauseButton, button->displayType(), rect))
+ if (!emitMediaButtonSignal(PlayPauseButton, mediaControlElementType(node), rect))
return false;
return paintThemePart(object, PlayPauseButton, info, rect);
@@ -1215,8 +1214,7 @@
if (!node || !node->isMediaControlElement())
return 0;
- MediaControlSeekButtonElement* button = static_cast<MediaControlSeekButtonElement*>(node);
- if (!emitMediaButtonSignal(SeekBackwardButton, button->displayType(), rect))
+ if (!emitMediaButtonSignal(SeekBackwardButton, mediaControlElementType(node), rect))
return false;
return paintThemePart(object, SeekBackwardButton, info, rect);
@@ -1228,8 +1226,7 @@
if (!node || !node->isMediaControlElement())
return 0;
- MediaControlSeekButtonElement* button = static_cast<MediaControlSeekButtonElement*>(node);
- if (!emitMediaButtonSignal(SeekForwardButton, button->displayType(), rect))
+ if (!emitMediaButtonSignal(SeekForwardButton, mediaControlElementType(node), rect))
return false;
return paintThemePart(object, SeekForwardButton, info, rect);
« no previous file with comments | « Source/WebCore/html/shadow/MediaControlElements.cpp ('k') | Source/WebCore/platform/gtk/RenderThemeGtk.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698