Commit 15f17c04 authored by sigbjornf's avatar sigbjornf Committed by Commit bot

Remove redefinitions of ExceptionCode.

R=haraken
BUG=
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2625053002
Cr-Commit-Position: refs/heads/master@{#442878}
parent 4120687a
...@@ -31,14 +31,13 @@ ...@@ -31,14 +31,13 @@
#include "bindings/core/v8/ScriptWrappable.h" #include "bindings/core/v8/ScriptWrappable.h"
#include "core/CoreExport.h" #include "core/CoreExport.h"
#include "core/dom/ExceptionCode.h"
#include "platform/heap/Handle.h" #include "platform/heap/Handle.h"
#include "wtf/Forward.h" #include "wtf/Forward.h"
#include "wtf/text/WTFString.h" #include "wtf/text/WTFString.h"
namespace blink { namespace blink {
typedef int ExceptionCode;
class CORE_EXPORT DOMException final class CORE_EXPORT DOMException final
: public GarbageCollectedFinalized<DOMException>, : public GarbageCollectedFinalized<DOMException>,
public ScriptWrappable { public ScriptWrappable {
......
...@@ -35,8 +35,6 @@ namespace blink { ...@@ -35,8 +35,6 @@ namespace blink {
class LocalFrame; class LocalFrame;
typedef int ExceptionCode;
class CORE_EXPORT Navigator final : public GarbageCollected<Navigator>, class CORE_EXPORT Navigator final : public GarbageCollected<Navigator>,
public NavigatorCPU, public NavigatorCPU,
public NavigatorID, public NavigatorID,
......
...@@ -36,8 +36,6 @@ namespace blink { ...@@ -36,8 +36,6 @@ namespace blink {
class Element; class Element;
typedef int ExceptionCode;
class ClassList final : public DOMTokenList { class ClassList final : public DOMTokenList {
public: public:
static ClassList* create(Element* element) { return new ClassList(element); } static ClassList* create(Element* element) { return new ClassList(element); }
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "bindings/core/v8/ScriptWrappable.h" #include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/TraceWrapperMember.h" #include "bindings/core/v8/TraceWrapperMember.h"
#include "core/dom/DocumentParserClient.h" #include "core/dom/DocumentParserClient.h"
#include "core/dom/ExceptionCode.h"
#include "core/dom/SuspendableObject.h" #include "core/dom/SuspendableObject.h"
#include "core/loader/ThreadableLoaderClient.h" #include "core/loader/ThreadableLoaderClient.h"
#include "core/xmlhttprequest/XMLHttpRequestEventTarget.h" #include "core/xmlhttprequest/XMLHttpRequestEventTarget.h"
...@@ -42,7 +43,6 @@ ...@@ -42,7 +43,6 @@
#include "wtf/PassRefPtr.h" #include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h" #include "wtf/RefPtr.h"
#include "wtf/text/AtomicString.h" #include "wtf/text/AtomicString.h"
#include "wtf/text/StringBuilder.h"
#include "wtf/text/WTFString.h" #include "wtf/text/WTFString.h"
#include <memory> #include <memory>
...@@ -65,8 +65,6 @@ class ThreadableLoader; ...@@ -65,8 +65,6 @@ class ThreadableLoader;
class WebDataConsumerHandle; class WebDataConsumerHandle;
class XMLHttpRequestUpload; class XMLHttpRequestUpload;
typedef int ExceptionCode;
class XMLHttpRequest final : public XMLHttpRequestEventTarget, class XMLHttpRequest final : public XMLHttpRequestEventTarget,
private ThreadableLoaderClient, private ThreadableLoaderClient,
public DocumentParserClient, public DocumentParserClient,
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#ifndef StorageErrorCallback_h #ifndef StorageErrorCallback_h
#define StorageErrorCallback_h #define StorageErrorCallback_h
#include "core/dom/ExceptionCode.h"
#include "core/dom/ExecutionContext.h" #include "core/dom/ExecutionContext.h"
#include "core/dom/ExecutionContextTask.h" #include "core/dom/ExecutionContextTask.h"
#include "modules/ModulesExport.h" #include "modules/ModulesExport.h"
...@@ -41,8 +42,6 @@ namespace blink { ...@@ -41,8 +42,6 @@ namespace blink {
class DOMError; class DOMError;
typedef int ExceptionCode;
class StorageErrorCallback class StorageErrorCallback
: public GarbageCollectedFinalized<StorageErrorCallback> { : public GarbageCollectedFinalized<StorageErrorCallback> {
public: public:
......
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
namespace blink { namespace blink {
typedef int ExceptionCode;
class WebGLContextGroup final : public GarbageCollected<WebGLContextGroup>, class WebGLContextGroup final : public GarbageCollected<WebGLContextGroup>,
public TraceWrapperBase { public TraceWrapperBase {
WTF_MAKE_NONCOPYABLE(WebGLContextGroup); WTF_MAKE_NONCOPYABLE(WebGLContextGroup);
......
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