From cd44dc59cdfc39534aef4d417e9f3c412e3be139 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 3 Feb 2012 09:55:33 +0100 Subject: Imported WebKit commit fce473cb4d55aa9fe9d0b0322a2fffecb731b961 (http://svn.webkit.org/repository/webkit/trunk@106560) --- Source/WebCore/rendering/RenderTreeAsText.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/WebCore/rendering/RenderTreeAsText.cpp') diff --git a/Source/WebCore/rendering/RenderTreeAsText.cpp b/Source/WebCore/rendering/RenderTreeAsText.cpp index 7c1f93fdd..88ad4ac35 100644 --- a/Source/WebCore/rendering/RenderTreeAsText.cpp +++ b/Source/WebCore/rendering/RenderTreeAsText.cpp @@ -184,7 +184,7 @@ static bool isEmptyOrUnstyledAppleStyleSpan(const Node* node) return true; CSSMutableStyleDeclaration* inlineStyleDecl = elem->inlineStyleDecl(); - return (!inlineStyleDecl || inlineStyleDecl->length() == 0); + return (!inlineStyleDecl || inlineStyleDecl->isEmpty()); } String quoteAndEscapeNonPrintables(const String& s) -- cgit v1.2.1