Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGFontData.cpp
index c4cffb9..cf6747b 100644 (file)
@@ -42,7 +42,7 @@
 using namespace WTF;
 using namespace Unicode;
 
-namespace WebCore {
+namespace blink {
 
 SVGFontData::SVGFontData(SVGFontFaceElement* fontFaceElement)
     : CustomFontData()
@@ -185,7 +185,7 @@ bool SVGFontData::applySVGGlyphSelection(WidthIterator& iterator, GlyphData& gly
         RenderObject* parentRenderObject = renderObject->isText() ? renderObject->parent() : renderObject;
         ASSERT(parentRenderObject);
 
-        isVerticalText = parentRenderObject->style()->svgStyle()->isVerticalWritingMode();
+        isVerticalText = parentRenderObject->style()->svgStyle().isVerticalWritingMode();
         if (Element* parentRenderObjectElement = toElement(parentRenderObject->node())) {
             language = parentRenderObjectElement->getAttribute(XMLNames::langAttr);
 
@@ -334,6 +334,6 @@ bool SVGFontData::shouldSkipDrawing() const
     return !m_svgFontFaceElement || !m_svgFontFaceElement->inDocument();
 }
 
-} // namespace WebCore
+} // namespace blink
 
 #endif