Index: third_party/WebKit/Source/core/page/EventSource.h |
diff --git a/third_party/WebKit/Source/core/page/EventSource.h b/third_party/WebKit/Source/core/page/EventSource.h |
index 582c50c3d58ec27b4ec41989c6a4c13a034bbdf3..174397adb8597565ac0715607e4a349825c29a2f 100644 |
--- a/third_party/WebKit/Source/core/page/EventSource.h |
+++ b/third_party/WebKit/Source/core/page/EventSource.h |
@@ -63,10 +63,11 @@ public: |
String url() const; |
bool withCredentials() const; |
- typedef short State; |
- static const State CONNECTING = 0; |
- static const State OPEN = 1; |
- static const State CLOSED = 2; |
+ enum State : unsigned short { |
+ CONNECTING = 0, |
+ OPEN = 1, |
+ CLOSED = 2 |
+ }; |
State readyState() const; |