diff options
Diffstat (limited to 'Source/WebCore/style/StyleResolveForDocument.h')
-rw-r--r-- | Source/WebCore/style/StyleResolveForDocument.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/WebCore/style/StyleResolveForDocument.h b/Source/WebCore/style/StyleResolveForDocument.h index f72473b54..1569d831c 100644 --- a/Source/WebCore/style/StyleResolveForDocument.h +++ b/Source/WebCore/style/StyleResolveForDocument.h @@ -23,10 +23,9 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef StyleResolveForDocument_h -#define StyleResolveForDocument_h +#pragma once -#include <wtf/PassRef.h> +#include <wtf/Ref.h> namespace WebCore { @@ -35,9 +34,7 @@ class RenderStyle; namespace Style { -PassRef<RenderStyle> resolveForDocument(const Document&); +RenderStyle resolveForDocument(const Document&); } } - -#endif |