Coding style fix.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Dec 2010 18:41:06 +0000 (18:41 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Dec 2010 18:41:06 +0000 (18:41 +0000)
* WebProcess/Downloads/mac/DownloadMac.mm:
(WebKit::originatingURLFromBackForwardList):

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

WebKit2/ChangeLog
WebKit2/WebProcess/Downloads/mac/DownloadMac.mm

index 2b48dbd..a72d118 100644 (file)
@@ -1,3 +1,10 @@
+2010-12-13  Dan Bernstein  <mitz@apple.com>
+
+        Coding style fix.
+
+        * WebProcess/Downloads/mac/DownloadMac.mm:
+        (WebKit::originatingURLFromBackForwardList):
+
 2010-12-13  Balazs Kelemen  <kbalazs@webkit.org>
 
         Unreviewed trivial build fix (linux, 64 bit, gcc-4.5.1)
index 2ffa320..6839020 100644 (file)
@@ -68,7 +68,7 @@ static KURL originatingURLFromBackForwardList(WebPage *webPage)
     for (int backIndex = 0; backIndex <= backCount; backIndex++) {
         // FIXME: At one point we had code here to check a "was user gesture" flag.
         // Do we need to restore that logic?
-        HistoryItem *historyItem = page->backForward()->itemAtIndex(-backIndex);
+        HistoryItemhistoryItem = page->backForward()->itemAtIndex(-backIndex);
         if (!historyItem)
             continue;