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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.h

Issue 2731593003: bindings: Use fixed-size integer types in the generated code. (Closed)
Patch Set: Explain why 64-bit integers are sometimes not listed Created 3 years, 10 months 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
Index: third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.h b/third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.h
index 8892088a48af60d041c8cbdf4fa07f23164e9569..0cbd1ed8f29352ce0fbc55b1d17cf6c12e1e350f 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.h
@@ -34,9 +34,9 @@ class CORE_EXPORT TestInterfaceOrLong final {
static TestInterfaceOrLong fromTestInterface(TestInterfaceImplementation*);
bool isLong() const { return m_type == SpecificTypeLong; }
- int getAsLong() const;
- void setLong(int);
- static TestInterfaceOrLong fromLong(int);
+ int32_t getAsLong() const;
+ void setLong(int32_t);
+ static TestInterfaceOrLong fromLong(int32_t);
TestInterfaceOrLong(const TestInterfaceOrLong&);
~TestInterfaceOrLong();
@@ -52,7 +52,7 @@ class CORE_EXPORT TestInterfaceOrLong final {
SpecificTypes m_type;
Member<TestInterfaceImplementation> m_testInterface;
- int m_long;
+ int32_t m_long;
friend CORE_EXPORT v8::Local<v8::Value> ToV8(const TestInterfaceOrLong&, v8::Local<v8::Object>, v8::Isolate*);
};

Powered by Google App Engine
This is Rietveld 408576698