summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 05:27:35 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 05:27:35 +0000
commitfdd107a974156a8c2b770e47b7a961fa52c13a74 (patch)
treec165aac39078004d2a2376927179fe7bcd61ba7d /chrome
parent7485bce7b0e770e9a9987088e9dc90acc760fe1f (diff)
downloadchromium_src-fdd107a974156a8c2b770e47b7a961fa52c13a74.zip
chromium_src-fdd107a974156a8c2b770e47b7a961fa52c13a74.tar.gz
chromium_src-fdd107a974156a8c2b770e47b7a961fa52c13a74.tar.bz2
Fix chrome os
TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84934 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/extensions/extension_file_browser_private_api.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/extensions/extension_file_browser_private_api.cc b/chrome/browser/extensions/extension_file_browser_private_api.cc
index a6857544..6063d3c 100644
--- a/chrome/browser/extensions/extension_file_browser_private_api.cc
+++ b/chrome/browser/extensions/extension_file_browser_private_api.cc
@@ -352,8 +352,7 @@ void RequestLocalFileSystemFunction::RequestOnFileThread(
}
bool RequestLocalFileSystemFunction::RunImpl() {
- if (!dispatcher() || !dispatcher()->render_view_host() ||
- !dispatcher()->render_view_host()->process())
+ if (!dispatcher() || !render_view_host() || !render_view_host()->process())
return false;
BrowserThread::PostTask(
@@ -361,7 +360,7 @@ bool RequestLocalFileSystemFunction::RunImpl() {
NewRunnableMethod(this,
&RequestLocalFileSystemFunction::RequestOnFileThread,
source_url_,
- dispatcher()->render_view_host()->process()->id()));
+ render_view_host()->process()->id()));
// Will finish asynchronously.
return true;
}
@@ -678,7 +677,7 @@ void ExecuteTasksFileBrowserFunction::RequestFileEntryOnFileThread(
new ExecuteTasksFileSystemCallbackDispatcher(
this,
profile(),
- dispatcher()->render_view_host()->process()->id(),
+ render_view_host()->process()->id(),
source_url,
GetExtension(),
task_id,