Index: third_party/WebKit/Source/core/css/cssom/ImmutableStylePropertyMap.h |
diff --git a/third_party/WebKit/Source/core/css/cssom/ImmutableStylePropertyMap.h b/third_party/WebKit/Source/core/css/cssom/ImmutableStylePropertyMap.h |
deleted file mode 100644 |
index e571214d3a944be9c45de9a4929aabea88a0f922..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/css/cssom/ImmutableStylePropertyMap.h |
+++ /dev/null |
@@ -1,38 +0,0 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef ImmutableStylePropertyMap_h |
-#define ImmutableStylePropertyMap_h |
- |
-#include "core/css/cssom/StylePropertyMap.h" |
- |
-namespace blink { |
- |
-class CORE_EXPORT ImmutableStylePropertyMap : public StylePropertyMap { |
- WTF_MAKE_NONCOPYABLE(ImmutableStylePropertyMap); |
- |
- public: |
- void set(CSSPropertyID, |
- CSSStyleValueOrCSSStyleValueSequenceOrString&, |
- ExceptionState& exceptionState) override { |
- exceptionState.throwTypeError("This StylePropertyMap is immutable."); |
- } |
- |
- void append(CSSPropertyID, |
- CSSStyleValueOrCSSStyleValueSequenceOrString&, |
- ExceptionState& exceptionState) override { |
- exceptionState.throwTypeError("This StylePropertyMap is immutable."); |
- } |
- |
- void remove(CSSPropertyID, ExceptionState& exceptionState) override { |
- exceptionState.throwTypeError("This StylePropertyMap is immutable."); |
- } |
- |
- protected: |
- ImmutableStylePropertyMap() = default; |
-}; |
- |
-} // namespace blink |
- |
-#endif |