Commit 8b24bea3 authored by b.kelemen@samsung.com's avatar b.kelemen@samsung.com

Post-commit review fixes after r242570

Fix remaining nits.

BUG=323697

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243346 0039d316-1c4b-4281-b951-d872f2087c98
parent b503935a
...@@ -199,12 +199,12 @@ JavaObjectWeakGlobalRef ContentVideoView::CreateJavaObject() { ...@@ -199,12 +199,12 @@ JavaObjectWeakGlobalRef ContentVideoView::CreateJavaObject() {
ContentViewCoreImpl* content_view_core = manager_->GetContentViewCore(); ContentViewCoreImpl* content_view_core = manager_->GetContentViewCore();
JNIEnv *env = AttachCurrentThread(); JNIEnv *env = AttachCurrentThread();
return JavaObjectWeakGlobalRef( return JavaObjectWeakGlobalRef(
env, env,
Java_ContentVideoView_createContentVideoView( Java_ContentVideoView_createContentVideoView(
env, env,
content_view_core->GetContext().obj(), content_view_core->GetContext().obj(),
reinterpret_cast<intptr_t>(this), reinterpret_cast<intptr_t>(this),
content_view_core->GetContentVideoViewClient().obj()).obj()); content_view_core->GetContentVideoViewClient().obj()).obj());
} }
void ContentVideoView::DestroyContentVideoView(bool native_view_destroyed) { void ContentVideoView::DestroyContentVideoView(bool native_view_destroyed) {
......
...@@ -31,7 +31,7 @@ class ContentVideoView { ...@@ -31,7 +31,7 @@ class ContentVideoView {
const base::android::ScopedJavaLocalRef<jobject>& client, const base::android::ScopedJavaLocalRef<jobject>& client,
BrowserMediaPlayerManager* manager); BrowserMediaPlayerManager* manager);
ContentVideoView(BrowserMediaPlayerManager* manager); explicit ContentVideoView(BrowserMediaPlayerManager* manager);
~ContentVideoView(); ~ContentVideoView();
......
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