| Index: Source/core/rendering/style/RenderStyle.cpp
|
| diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
|
| index 31a85c2cf2e1c86b8ef515f2d1cd965dff0a254e..82ead2690918cbe5b4f37cc3c4bb8648fcdd071c 100644
|
| --- a/Source/core/rendering/style/RenderStyle.cpp
|
| +++ b/Source/core/rendering/style/RenderStyle.cpp
|
| @@ -2,6 +2,7 @@
|
| * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
|
| * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
|
| * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
|
| + * Copyright (C) 2013 Opera Software ASA. All rights reserved.
|
| *
|
| * This library is free software; you can redistribute it and/or
|
| * modify it under the terms of the GNU Library General Public
|
| @@ -792,6 +793,22 @@ void RenderStyle::setContent(QuoteType quote, bool add)
|
| rareNonInheritedData.access()->m_content = ContentData::create(quote);
|
| }
|
|
|
| +void RenderStyle::setNavigation(const StyleNavigationData& data)
|
| +{
|
| + rareNonInheritedData.access()->m_navigation = adoptPtr(new StyleNavigationData(data));
|
| +}
|
| +
|
| +void RenderStyle::setNavigation(StyleNavigationData::NavigationDirection direction, const StyleNavigationValue& value, bool add)
|
| +{
|
| + if (add && rareNonInheritedData->m_navigation) {
|
| + rareNonInheritedData.access()->m_navigation->SetProperty(direction, value);
|
| + return;
|
| + }
|
| +
|
| + StyleNavigationData data(direction, value);
|
| + setNavigation(data);
|
| +}
|
| +
|
| blink::WebBlendMode RenderStyle::blendMode() const
|
| {
|
| if (RuntimeEnabledFeatures::cssCompositingEnabled())
|
|
|