Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: webkit/port/bindings/v8/v8_np_utils.cpp

Issue 11492: Fix Silverlight windowless plugin painting issues. This fixes the following... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webplugin_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/port/bindings/v8/v8_np_utils.cpp
===================================================================
--- webkit/port/bindings/v8/v8_np_utils.cpp (revision 5778)
+++ webkit/port/bindings/v8/v8_np_utils.cpp (working copy)
@@ -53,7 +53,10 @@
if (object.IsEmpty()) return;
- if (object->IsNumber()) {
+ if (object->IsInt32()) {
+ INT32_TO_NPVARIANT(object->NumberValue(), *result);
+
+ } else if (object->IsNumber()) {
DOUBLE_TO_NPVARIANT(object->NumberValue(), *result);
} else if (object->IsBoolean()) {
« no previous file with comments | « webkit/glue/webplugin_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698