summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authorjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 22:52:21 +0000
committerjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 22:52:21 +0000
commitcfe8a11e7670c898b60961bd6f8740be3e0d0244 (patch)
tree1159d12a18e3cae4ad262d46cfca19f478f2ec25 /chrome/browser/profile.cc
parentc37f3e0fce65fb28618384916deb712693bfce73 (diff)
downloadchromium_src-cfe8a11e7670c898b60961bd6f8740be3e0d0244.zip
chromium_src-cfe8a11e7670c898b60961bd6f8740be3e0d0244.tar.gz
chromium_src-cfe8a11e7670c898b60961bd6f8740be3e0d0244.tar.bz2
Fix incognito with LocalStorage.
BUG=28807 TEST=Incognito has seprate data from the main window and is reset when you close the incognito window. Review URL: http://codereview.chromium.org/434099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33146 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 90069dd..4204c8a 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -481,7 +481,7 @@ class OffTheRecordProfileImpl : public Profile,
virtual WebKitContext* GetWebKitContext() {
if (!webkit_context_.get())
- webkit_context_ = new WebKitContext(GetPath(), true);
+ webkit_context_ = new WebKitContext(FilePath(), true);
DCHECK(webkit_context_.get());
return webkit_context_.get();
}