Unreviewed. Fix build after r137045 for !ENABLE(LINK_PRERENDER) platforms.
authorgavinp@chromium.org <gavinp@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Dec 2012 21:19:56 +0000 (21:19 +0000)
committergavinp@chromium.org <gavinp@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Dec 2012 21:19:56 +0000 (21:19 +0000)
A new guard was needed.

I am sorry.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@137047 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/loader/LinkLoader.cpp

index 4e97275..d083ebf 100644 (file)
@@ -90,6 +90,8 @@ void LinkLoader::notifyFinished(CachedResource* resource)
     m_cachedLinkResource = 0;
 }
 
+#if ENABLE(LINK_PRERENDER)
+
 void LinkLoader::didStartPrerender()
 {
     m_client->didStartLinkPrerender();
@@ -110,6 +112,8 @@ void LinkLoader::didSendDOMContentLoadedForPrerender()
     m_client->didSendDOMContentLoadedForLinkPrerender();
 }
 
+#endif
+
 bool LinkLoader::loadLink(const LinkRelAttribute& relAttribute, const String& type,
                           const String& sizes, const KURL& href, Document* document)
 {