Commit c83ee88c authored by gunsch's avatar gunsch Committed by Commit bot

Chromecast Android buildfix: fully-qualify AttachCurrentThread.

R=hugo.holgersson@sonymobile.com,lcwu@chromium.org
BUG=None

Review URL: https://codereview.chromium.org/835163003

Cr-Commit-Position: refs/heads/master@{#310172}
parent ee0205db
...@@ -43,7 +43,7 @@ void ExternalVideoSurfaceContainerImpl::RequestExternalVideoSurface( ...@@ -43,7 +43,7 @@ void ExternalVideoSurfaceContainerImpl::RequestExternalVideoSurface(
} }
int ExternalVideoSurfaceContainerImpl::GetCurrentPlayerId() { int ExternalVideoSurfaceContainerImpl::GetCurrentPlayerId() {
JNIEnv* env = AttachCurrentThread(); JNIEnv* env = base::android::AttachCurrentThread();
int current_player = static_cast<int>( int current_player = static_cast<int>(
Java_ExternalVideoSurfaceContainer_getCurrentPlayerId( Java_ExternalVideoSurfaceContainer_getCurrentPlayerId(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment