| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 7fb557f4dfb3adfdc5da9f4555ae18d057119b5f..5b7fb8b4be1dad8e0699c9955156b983ffa2d1b7 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -1284,27 +1284,27 @@ void ContentViewCoreImpl::AttachExternalVideoSurface(JNIEnv* env,
|
| jobject obj,
|
| jint player_id,
|
| jobject jsurface) {
|
| -#if defined(GOOGLE_TV)
|
| +#if defined(VIDEO_HOLE)
|
| RenderViewHostImpl* rvhi = static_cast<RenderViewHostImpl*>(
|
| web_contents_->GetRenderViewHost());
|
| if (rvhi && rvhi->media_player_manager()) {
|
| rvhi->media_player_manager()->AttachExternalVideoSurface(
|
| static_cast<int>(player_id), jsurface);
|
| }
|
| -#endif
|
| +#endif // defined(VIDEO_HOLE)
|
| }
|
|
|
| void ContentViewCoreImpl::DetachExternalVideoSurface(JNIEnv* env,
|
| jobject obj,
|
| jint player_id) {
|
| -#if defined(GOOGLE_TV)
|
| +#if defined(VIDEO_HOLE)
|
| RenderViewHostImpl* rvhi = static_cast<RenderViewHostImpl*>(
|
| web_contents_->GetRenderViewHost());
|
| if (rvhi && rvhi->media_player_manager()) {
|
| rvhi->media_player_manager()->DetachExternalVideoSurface(
|
| static_cast<int>(player_id));
|
| }
|
| -#endif
|
| +#endif // defined(VIDEO_HOLE)
|
| }
|
|
|
| jboolean ContentViewCoreImpl::IsRenderWidgetHostViewReady(JNIEnv* env,
|
|
|