Commit 4f0252c0 authored by thakis@chromium.org's avatar thakis@chromium.org

clang/win: Fix around in-class initializer bug.

No intended behavior change.

BUG=488634
TBR=rune@opera.com

Review URL: https://codereview.chromium.org/1294793004 .

git-svn-id: svn://svn.chromium.org/blink/trunk@200842 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent edb1f6e1
......@@ -48,6 +48,9 @@ DEFINE_TRACE(MatchedProperties)
visitor->trace(properties);
}
// TODO(thakis): Remove this once http://crbug.com/488634 is fixed.
MatchResult::MatchResult() = default;
void MatchResult::addMatchedProperties(const StylePropertySet* properties, unsigned linkMatchType, PropertyWhitelistType propertyWhitelistType)
{
m_matchedProperties.grow(m_matchedProperties.size() + 1);
......
......@@ -87,6 +87,8 @@ private:
class CORE_EXPORT MatchResult {
STACK_ALLOCATED();
public:
MatchResult();
void addMatchedProperties(const StylePropertySet* properties, unsigned linkMatchType = CSSSelector::MatchAll, PropertyWhitelistType = PropertyWhitelistNone);
bool hasMatchedProperties() const { return m_matchedProperties.size(); }
......
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