Chromium Code Reviews| Index: content/browser/android/child_process_launcher_android.cc |
| diff --git a/content/browser/android/child_process_launcher_android.cc b/content/browser/android/child_process_launcher_android.cc |
| index 44e1bd38f6dd2ae8a0ce7faac3d3b0b17f31b373..2e0651682fa674c7147083d077698db240008935 100644 |
| --- a/content/browser/android/child_process_launcher_android.cc |
| +++ b/content/browser/android/child_process_launcher_android.cc |
| @@ -180,7 +180,7 @@ void EstablishSurfacePeer(JNIEnv* env, |
| if (jsurface.is_null()) |
| return; |
| - DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::UI)); |
|
Lei Zhang
2015/09/08 22:50:22
gah, search and replace fail.
Lei Zhang
2015/09/08 22:59:43
This change has been reverted.
|
| + DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( |
| &SetSurfacePeer, jsurface, pid, primary_id, secondary_id)); |
| } |