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

Unified Diff: WebCore/bindings/v8/IDBBindingUtilities.cpp

Issue 5800002: Merge 73697 - 2010-12-10 Hans Wennborg <hans@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years 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 | « WebCore/ChangeLog ('k') | WebCore/bindings/v8/custom/V8IDBKeyCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/bindings/v8/IDBBindingUtilities.cpp
===================================================================
--- WebCore/bindings/v8/IDBBindingUtilities.cpp (revision 73901)
+++ WebCore/bindings/v8/IDBBindingUtilities.cpp (working copy)
@@ -41,8 +41,8 @@
{
if (value->IsNull())
return IDBKey::create();
- if (value->IsInt32())
- return IDBKey::create(value->Int32Value());
+ if (value->IsNumber())
+ return IDBKey::create(value->NumberValue());
if (value->IsString())
return IDBKey::create(v8ValueToWebCoreString(value));
if (value->IsDate())
« no previous file with comments | « WebCore/ChangeLog ('k') | WebCore/bindings/v8/custom/V8IDBKeyCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698