diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-02 00:12:17 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-02 00:12:17 +0000 |
commit | 53e6c0a0bac5dec0f4249bf99d42df25b609a3db (patch) | |
tree | c61219e8989ce4e2a9ab4fe06d5e5384117601b4 /webkit/glue/plugins | |
parent | a9f206fe4f79573c7c8f90242738a6dc909afc0c (diff) | |
download | chromium_src-53e6c0a0bac5dec0f4249bf99d42df25b609a3db.zip chromium_src-53e6c0a0bac5dec0f4249bf99d42df25b609a3db.tar.gz chromium_src-53e6c0a0bac5dec0f4249bf99d42df25b609a3db.tar.bz2 |
Fix a ui test and test_shell_tests results since numbers
are now doubles (to match Safari). This was done in
http://trac.webkit.org/changeset/72974
BUG=64874
Review URL: http://codereview.chromium.org/5482002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67914 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins')
-rw-r--r-- | webkit/glue/plugins/test/plugin_windowed_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/plugins/test/plugin_windowed_test.cc b/webkit/glue/plugins/test/plugin_windowed_test.cc index 2ed3ae6..c82aa55 100644 --- a/webkit/glue/plugins/test/plugin_windowed_test.cc +++ b/webkit/glue/plugins/test/plugin_windowed_test.cc @@ -90,8 +90,8 @@ NPError WindowedPluginTest::Destroy() { bool result = HostFunctions()->evaluate( id(), window_obj, &script_string, &result_var); if (!result || - result_var.type != NPVariantType_Int32 || - result_var.value.intValue != 42) { + result_var.type != NPVariantType_Double || + result_var.value.doubleValue != 42.0) { SetError("Failed to script during NPP_Destroy"); } } |