From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/css/CSSDefaultStyleSheets.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'Source/WebCore/css/CSSDefaultStyleSheets.h') diff --git a/Source/WebCore/css/CSSDefaultStyleSheets.h b/Source/WebCore/css/CSSDefaultStyleSheets.h index ccdb1965d..3672ca1af 100644 --- a/Source/WebCore/css/CSSDefaultStyleSheets.h +++ b/Source/WebCore/css/CSSDefaultStyleSheets.h @@ -20,8 +20,7 @@ * */ -#ifndef CSSDefaultStyleSheets_h -#define CSSDefaultStyleSheets_h +#pragma once namespace WebCore { @@ -34,7 +33,7 @@ public: static RuleSet* defaultStyle; static RuleSet* defaultQuirksStyle; static RuleSet* defaultPrintStyle; - static RuleSet* defaultViewSourceStyle; + static unsigned defaultStyleVersion; static StyleSheetContents* simpleDefaultStyleSheet; static StyleSheetContents* defaultStyleSheet; @@ -44,14 +43,12 @@ public: static StyleSheetContents* mediaControlsStyleSheet; static StyleSheetContents* fullscreenStyleSheet; static StyleSheetContents* plugInsStyleSheet; + static StyleSheetContents* imageControlsStyleSheet; - static void ensureDefaultStyleSheetsForElement(Element*, bool& changedDefaultStyle); + static void ensureDefaultStyleSheetsForElement(const Element&); static void loadFullDefaultStyle(); static void loadSimpleDefaultStyle(); - static void initDefaultStyle(Element*); - static RuleSet* viewSourceStyle(); + static void initDefaultStyle(const Element*); }; } // namespace WebCore - -#endif // CSSDefaultStyleSheets_h -- cgit v1.2.1