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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 294053006: Oilpan: Use transition types for HTMLMediaElement and make AudioSourceProviderClient a GC mixin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 311c08d979be7bfe6eaa96f14f6b796ca4f11592..7f337eca30ede4263c37141725bbb221c26dd9ba 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -3057,8 +3057,8 @@ void WebViewImpl::performMediaPlayerAction(const WebMediaPlayerAction& action,
if (!isHTMLVideoElement(*node) && !isHTMLAudioElement(*node))
return;
- RefPtr<HTMLMediaElement> mediaElement =
- static_pointer_cast<HTMLMediaElement>(node);
+ RefPtrWillBeRawPtr<HTMLMediaElement> mediaElement =
+ static_cast<HTMLMediaElement*>(node.get());
switch (action.type) {
case WebMediaPlayerAction::Play:
if (action.enable)
« Source/core/html/HTMLMediaElement.cpp ('K') | « Source/platform/audio/AudioSourceProviderClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698