[Text Autosizing] Cleanup change: converter the pointer argument to be a reference...
[WebKit-https.git] / Source / WebCore / ChangeLog
index a5aadc82cd9dceedac9703ade06fd3af8fb7159c..81b382e890f010f6c1fc57f879eff16bafa3fd31 100644 (file)
@@ -1,3 +1,28 @@
+2013-02-09  Anton Vayvod  <avayvod@chromium.org>
+        [Text Autosizing] Cleanup change: converter the pointer argument to be a reference since
+        non-null pointer is always expected.
+        https://bugs.webkit.org/show_bug.cgi?id=109079
+        Reviewed by Kenneth Rohde Christiansen.
+        Cleanup change, no need to add new tests or modify the existing ones.
+        * rendering/TextAutosizer.cpp:
+        Changed parameter from a pointer to a reference in the methods below.
+        (WebCore::TextAutosizer::processSubtree):
+        (WebCore::TextAutosizer::processCluster):
+        (WebCore::TextAutosizer::processContainer):
+        (WebCore::TextAutosizer::isNarrowDescendant):
+        (WebCore::TextAutosizer::isWiderDescendant):
+        (WebCore::TextAutosizer::isAutosizingCluster):
+        (WebCore::TextAutosizer::clusterShouldBeAutosized):
+        (WebCore::TextAutosizer::measureDescendantTextWidth):
+        * rendering/TextAutosizer.h: updated method prototypes.
+
 2013-02-09  Rafael Brandao  <rafael.lobo@openbossa.org>
 
         [TexMap] Separate classes per file in TextureMapperBackingStore.h