Commit abcb44a6 authored by eroman@chromium.org's avatar eroman@chromium.org

Use "unsigned" rather than "unsigned long" for C++ code interacting with WebIDL's "unsigned long".

(WebIDL's "unsigned long" is a 32-bit type)

BUG=267360

Review URL: https://codereview.chromium.org/719933004

git-svn-id: svn://svn.chromium.org/blink/trunk@185260 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2fa627cb
...@@ -122,7 +122,7 @@ IDBRequest* IDBCursor::update(ScriptState* scriptState, const ScriptValue& value ...@@ -122,7 +122,7 @@ IDBRequest* IDBCursor::update(ScriptState* scriptState, const ScriptValue& value
return objectStore->put(scriptState, WebIDBPutModeCursorUpdate, IDBAny::create(this), value, m_primaryKey, exceptionState); return objectStore->put(scriptState, WebIDBPutModeCursorUpdate, IDBAny::create(this), value, m_primaryKey, exceptionState);
} }
void IDBCursor::advance(unsigned long count, ExceptionState& exceptionState) void IDBCursor::advance(unsigned count, ExceptionState& exceptionState)
{ {
IDB_TRACE("IDBCursor::advance"); IDB_TRACE("IDBCursor::advance");
if (!count) { if (!count) {
......
...@@ -64,7 +64,7 @@ public: ...@@ -64,7 +64,7 @@ public:
ScriptValue source(ScriptState*) const; ScriptValue source(ScriptState*) const;
IDBRequest* update(ScriptState*, const ScriptValue&, ExceptionState&); IDBRequest* update(ScriptState*, const ScriptValue&, ExceptionState&);
void advance(unsigned long, ExceptionState&); void advance(unsigned, ExceptionState&);
void continueFunction(ScriptState*, const ScriptValue& key, ExceptionState&); void continueFunction(ScriptState*, const ScriptValue& key, ExceptionState&);
void continuePrimaryKey(ScriptState*, const ScriptValue& key, const ScriptValue& primaryKey, ExceptionState&); void continuePrimaryKey(ScriptState*, const ScriptValue& key, const ScriptValue& primaryKey, ExceptionState&);
IDBRequest* deleteFunction(ScriptState*, ExceptionState&); IDBRequest* deleteFunction(ScriptState*, ExceptionState&);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment