[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

joepeck at webkit.org joepeck at webkit.org
Wed Dec 22 15:28:56 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit da5264e40a541b10ea1c6e48603227a0efe1ecac
Author: joepeck at webkit.org <joepeck at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Nov 4 16:44:35 2010 +0000

    2010-11-04  Joseph Pecoraro  <joepeck at webkit.org>
    
            Reviewed by Andreas Kling.
    
            Request.h getters can be made const
            https://bugs.webkit.org/show_bug.cgi?id=49003
    
            Added the const qualifier to some getters that don't mutate the object.
    
            * loader/Request.h:
            (WebCore::Request::cachedResource):
            (WebCore::Request::cachedResourceLoader):
            (WebCore::Request::isIncremental):
            (WebCore::Request::isMultipart):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71341 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 9e6ddc4..b425036 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,18 @@
+2010-11-04  Joseph Pecoraro  <joepeck at webkit.org>
+
+        Reviewed by Andreas Kling.
+
+        Request.h getters can be made const
+        https://bugs.webkit.org/show_bug.cgi?id=49003
+
+        Added the const qualifier to some getters that don't mutate the object.
+
+        * loader/Request.h:
+        (WebCore::Request::cachedResource):
+        (WebCore::Request::cachedResourceLoader):
+        (WebCore::Request::isIncremental):
+        (WebCore::Request::isMultipart):
+
 2010-11-03  Brian Weinstein  <bweinstein at apple.com>
 
         Reviewed by Brady Eidson.
diff --git a/WebCore/loader/Request.h b/WebCore/loader/Request.h
index 25bf31a..b6de312 100644
--- a/WebCore/loader/Request.h
+++ b/WebCore/loader/Request.h
@@ -36,13 +36,13 @@ namespace WebCore {
         Request(CachedResourceLoader*, CachedResource*, bool incremental, SecurityCheckPolicy, bool sendResourceLoadCallbacks);
         ~Request();
         
-        CachedResource* cachedResource() { return m_object; }
-        CachedResourceLoader* cachedResourceLoader() { return m_cachedResourceLoader; }
+        CachedResource* cachedResource() const { return m_object; }
+        CachedResourceLoader* cachedResourceLoader() const { return m_cachedResourceLoader; }
 
-        bool isIncremental() { return m_incremental; }
+        bool isIncremental() const { return m_incremental; }
         void setIsIncremental(bool b = true) { m_incremental = b; }
 
-        bool isMultipart() { return m_multipart; }
+        bool isMultipart() const { return m_multipart; }
         void setIsMultipart(bool b = true) { m_multipart = b; }
 
         SecurityCheckPolicy shouldDoSecurityCheck() const { return m_shouldDoSecurityCheck; }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list