diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-05 13:37:28 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-05 13:37:28 +0000 |
commit | e6c0b43787c81b1774bc906402a46dfbc91f7d35 (patch) | |
tree | 3df4332649f985af0b55de2cbfcdbbd92b493bbc /chrome/renderer | |
parent | 21c24fa7c9b10f180e545186aa4ed14d41151907 (diff) | |
download | chromium_src-e6c0b43787c81b1774bc906402a46dfbc91f7d35.zip chromium_src-e6c0b43787c81b1774bc906402a46dfbc91f7d35.tar.gz chromium_src-e6c0b43787c81b1774bc906402a46dfbc91f7d35.tar.bz2 |
renderer/extensions: Fix a v8::Local being passed by reference-to-const.
V8 Handles should always be passed by value, that is what the doc says in the
v8 header file, so fix it.
R=mnaganov@chromium.org
TBR=mpcomplete@chromium.org
Review URL: http://codereview.chromium.org/7828070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99653 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/extensions/extension_process_bindings.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/extensions/extension_process_bindings.cc b/chrome/renderer/extensions/extension_process_bindings.cc index c356cde..128375b 100644 --- a/chrome/renderer/extensions/extension_process_bindings.cc +++ b/chrome/renderer/extensions/extension_process_bindings.cc @@ -108,7 +108,7 @@ class ExtensionViewAccumulator : public RenderViewVisitor { private: // Called on each view found matching the search criteria. Returns false // to terminate the iteration. - bool OnMatchedView(const v8::Local<v8::Value>& view_window) { + bool OnMatchedView(v8::Local<v8::Value> view_window) { views_->Set(v8::Integer::New(index_), view_window); index_++; |