diff options
author | maf@google.com <maf@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-13 23:17:37 +0000 |
---|---|---|
committer | maf@google.com <maf@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-13 23:17:37 +0000 |
commit | fb8d32aab3a33166d3c1814e295eeafbea97174b (patch) | |
tree | 333cebe6d64ed3edb2fc5a3d7ef03fe8f5dec1b1 /o3d/plugin/cross/np_v8_bridge.cc | |
parent | ebe89e0676c12a6ebccb35fef1611323d1b35afb (diff) | |
download | chromium_src-fb8d32aab3a33166d3c1814e295eeafbea97174b.zip chromium_src-fb8d32aab3a33166d3c1814e295eeafbea97174b.tar.gz chromium_src-fb8d32aab3a33166d3c1814e295eeafbea97174b.tar.bz2 |
Changes needed to get Mac plugin gyp project build compiling and linking.
Review URL: http://codereview.chromium.org/165433
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23375 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/plugin/cross/np_v8_bridge.cc')
-rw-r--r-- | o3d/plugin/cross/np_v8_bridge.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/o3d/plugin/cross/np_v8_bridge.cc b/o3d/plugin/cross/np_v8_bridge.cc index e36b9d8..2acdfd8 100644 --- a/o3d/plugin/cross/np_v8_bridge.cc +++ b/o3d/plugin/cross/np_v8_bridge.cc @@ -484,7 +484,8 @@ class NPV8Object : public NPObject { // Due to a bug in Chrome, need to filter out any properties that // are functions. See comment in HasProperty. int num_non_function_properties = 0; - for (int i = 0; i != v8_names->Length(); ++i) { + int length = v8_names->Length(); + for (int i = 0; i < length; ++i) { Local<Value> v8_property_value = v8_object->Get(v8_names->Get(Int32::New(i))); if (!v8_property_value->IsFunction()) { |