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

Unified Diff: Source/core/css/CSSValueIDHelper.h

Issue 171383002: A thread-safe Media Query Parser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Generate strings with make_names Created 6 years, 10 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: Source/core/css/CSSValueIDHelper.h
diff --git a/Source/core/css/Pair.cpp b/Source/core/css/CSSValueIDHelper.h
similarity index 52%
copy from Source/core/css/Pair.cpp
copy to Source/core/css/CSSValueIDHelper.h
index 5362b6b52747f321f8c880c5518db518edd0230f..25e4eb65bddc8ce09a5e2f61007e496106c4727e 100644
--- a/Source/core/css/Pair.cpp
+++ b/Source/core/css/CSSValueIDHelper.h
@@ -2,15 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "config.h"
-#include "core/css/Pair.h"
+#ifndef CSSValueIDHelper_h
+#define CSSValueIDHelper_h
+
+#include "CSSValueKeywords.h"
+
+class CSSParserString;
namespace WebCore {
-void Pair::trace(Visitor* visitor)
-{
- visitor->trace(m_first);
- visitor->trace(m_second);
-}
+CSSValueID cssValueKeywordID(const CSSParserString&);
}
+#endif

Powered by Google App Engine
This is Rietveld 408576698