From 482c86901c5a7c0d870e50687f585b58366def83 Mon Sep 17 00:00:00 2001 From: "antti@apple.com" Date: Mon, 23 Jan 2012 17:20:02 +0000 Subject: [PATCH] Attempt to fix Qt build. Not reviewed. * css/CSSElementStyleDeclaration.cpp: * css/CSSElementStyleDeclaration.h: (WebCore::CSSElementStyleDeclaration::createForSVGFontFaceElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105632 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebCore/ChangeLog | 10 ++++++++++ Source/WebCore/css/CSSElementStyleDeclaration.cpp | 6 ------ Source/WebCore/css/CSSElementStyleDeclaration.h | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index ef4ad75..75349d2 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,13 @@ +2012-01-23 Antti Koivisto + + Attempt to fix Qt build. + + Not reviewed. + + * css/CSSElementStyleDeclaration.cpp: + * css/CSSElementStyleDeclaration.h: + (WebCore::CSSElementStyleDeclaration::createForSVGFontFaceElement): + 2012-01-23 Andreas Kling Move m_rootEditableElementForSelectionOnMouseDown off of HTMLAnchorElement. diff --git a/Source/WebCore/css/CSSElementStyleDeclaration.cpp b/Source/WebCore/css/CSSElementStyleDeclaration.cpp index f0c85ef..39579d7 100644 --- a/Source/WebCore/css/CSSElementStyleDeclaration.cpp +++ b/Source/WebCore/css/CSSElementStyleDeclaration.cpp @@ -26,16 +26,10 @@ #include "config.h" #include "CSSElementStyleDeclaration.h" -#include "SVGFontFaceElement.h" #include "StyledElement.h" namespace WebCore { -PassRefPtr CSSElementStyleDeclaration::createForSVGFontFaceElement(SVGFontFaceElement* element) -{ - return adoptRef(new CSSElementStyleDeclaration(element, false)); -} - CSSStyleSheet* CSSElementStyleDeclaration::styleSheet() const { if (!m_element) diff --git a/Source/WebCore/css/CSSElementStyleDeclaration.h b/Source/WebCore/css/CSSElementStyleDeclaration.h index b39c7b7..b8e3a00 100644 --- a/Source/WebCore/css/CSSElementStyleDeclaration.h +++ b/Source/WebCore/css/CSSElementStyleDeclaration.h @@ -37,7 +37,7 @@ class StyledElement; class CSSElementStyleDeclaration : public CSSMutableStyleDeclaration { public: static PassRefPtr createInline(StyledElement* element) { return adoptRef(new CSSElementStyleDeclaration(element, true)); } - static PassRefPtr createForSVGFontFaceElement(SVGFontFaceElement*); + static PassRefPtr createForSVGFontFaceElement(StyledElement* element) { return adoptRef(new CSSElementStyleDeclaration(element, false)); } StyledElement* element() const { return m_element; } void clearElement() { m_element = 0; } -- 2.7.4