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

Unified Diff: third_party/WebKit/Source/core/css/cssom/ImmutableStylePropertyMap.h

Issue 2730633004: [CSS Typed OM] Rearrange StylePropertyMap classes to match the new spec. (Closed)
Patch Set: Remove spurious : Created 3 years, 9 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/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

Powered by Google App Engine
This is Rietveld 408576698