diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-16 11:10:51 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-16 11:10:51 +0000 |
commit | 02e027f892e36c340c8eec609aa6ee44147d12b8 (patch) | |
tree | ef324dd8d6ef8205ef73c231cafc92001eede84c /chrome/renderer | |
parent | ff8d5d44915f2389f897186176be793afb8e7e89 (diff) | |
download | chromium_src-02e027f892e36c340c8eec609aa6ee44147d12b8.zip chromium_src-02e027f892e36c340c8eec609aa6ee44147d12b8.tar.gz chromium_src-02e027f892e36c340c8eec609aa6ee44147d12b8.tar.bz2 |
Remove a not-implemented and add a helpful comment.
TEST=none
BUG=33497
Review URL: http://codereview.chromium.org/593109
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39089 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/renderer_webstoragenamespace_impl.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/renderer/renderer_webstoragenamespace_impl.cc b/chrome/renderer/renderer_webstoragenamespace_impl.cc index d5146e7f..909de3f 100644 --- a/chrome/renderer/renderer_webstoragenamespace_impl.cc +++ b/chrome/renderer/renderer_webstoragenamespace_impl.cc @@ -1,6 +1,6 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this -// source code is governed by a BSD-style license that can be found in the -// LICENSE file. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. #include "chrome/renderer/renderer_webstoragenamespace_impl.h" @@ -39,7 +39,10 @@ WebStorageArea* RendererWebStorageNamespaceImpl::createStorageArea( } WebStorageNamespace* RendererWebStorageNamespaceImpl::copy() { - NOTREACHED(); // We shouldn't ever reach this code in Chromium. + // By returning NULL, we're telling WebKit to lazily fetch it the next time + // session storage is used. In the WebViewClient::createView, we do the + // book-keeping necessary to make it a true copy-on-write despite not doing + // anything here, now. return NULL; } |