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/page/PerformanceNavigation.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Source/WebCore/page/PerformanceNavigation.h') diff --git a/Source/WebCore/page/PerformanceNavigation.h b/Source/WebCore/page/PerformanceNavigation.h index f397923e6..3d572439b 100644 --- a/Source/WebCore/page/PerformanceNavigation.h +++ b/Source/WebCore/page/PerformanceNavigation.h @@ -28,14 +28,13 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef PerformanceNavigation_h -#define PerformanceNavigation_h +#pragma once #if ENABLE(WEB_TIMING) #include "DOMWindowProperty.h" -#include #include +#include namespace WebCore { @@ -43,7 +42,7 @@ class Frame; class PerformanceNavigation : public RefCounted, public DOMWindowProperty { public: - static PassRefPtr create(Frame* frame) { return adoptRef(new PerformanceNavigation(frame)); } + static Ref create(Frame* frame) { return adoptRef(*new PerformanceNavigation(frame)); } enum PerformanceNavigationType { TYPE_NAVIGATE, @@ -59,7 +58,6 @@ private: explicit PerformanceNavigation(Frame*); }; -} +} // namespace WebCore -#endif // !ENABLE(WEB_TIMING) -#endif // !defined(PerformanceNavigation_h) +#endif // ENABLE(WEB_TIMING) -- cgit v1.2.1