| Index: chrome/browser/plugin_process_host.cc
 | 
| ===================================================================
 | 
| --- chrome/browser/plugin_process_host.cc	(revision 30037)
 | 
| +++ chrome/browser/plugin_process_host.cc	(working copy)
 | 
| @@ -338,11 +338,11 @@
 | 
|    for (window_index = plugin_fullscreen_windows_set_.begin();
 | 
|         window_index != plugin_fullscreen_windows_set_.end();
 | 
|         window_index++) {
 | 
| -    if (MessageLoop::current() ==
 | 
| -        ChromeThread::GetMessageLoop(ChromeThread::UI)) {
 | 
| +    if (ChromeThread::CurrentlyOn(ChromeThread::UI)) {
 | 
|        mac_util::ReleaseFullScreen();
 | 
|      } else {
 | 
| -      ChromeThread::GetMessageLoop(ChromeThread::UI)->PostTask(FROM_HERE,
 | 
| +      ChromeThread::PostTask(
 | 
| +          ChromeThread::UI, FROM_HERE,
 | 
|            NewRunnableFunction(mac_util::ReleaseFullScreen));
 | 
|      }
 | 
|    }
 | 
| @@ -670,8 +670,7 @@
 | 
|  
 | 
|  void PluginProcessHost::OnPluginMessage(
 | 
|      const std::vector<uint8>& data) {
 | 
| -  DCHECK(MessageLoop::current() ==
 | 
| -         ChromeThread::GetMessageLoop(ChromeThread::IO));
 | 
| +  DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO));
 | 
|  
 | 
|    ChromePluginLib *chrome_plugin = ChromePluginLib::Find(info_.path);
 | 
|    if (chrome_plugin) {
 | 
| 
 |