| 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..4ccd961b8ca661306c3c7b35cf90156e38f0c4df 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 : short {
|
| + CONNECTING = 0,
|
| + OPEN = 1,
|
| + CLOSED = 2
|
| + };
|
|
|
| State readyState() const;
|
|
|
|
|