[chromium] CCLayerTreeHostImpl minor code cleanup
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Jan 2012 23:13:59 +0000 (23:13 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Jan 2012 23:13:59 +0000 (23:13 +0000)
commit65f692c2db26f63dfa1207bcd6f7bc026920a2fb
tree176118369c074656eb80d145a6d81b204f33abbf
parent02c5dd7725046414f597178a5d0a1659a848719f
[chromium] CCLayerTreeHostImpl minor code cleanup
https://bugs.webkit.org/show_bug.cgi?id=77181

Fix a typo in comments and group functions properly.
Replace duplicated content size code with function.

Patch by Tien-Ren Chen <trchen@chromium.org> on 2012-01-27
Reviewed by James Robinson.

No new tests. No change in behavior.

* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::startPageScaleAnimation):
(WebCore::CCLayerTreeHostImpl::contentSize):
(WebCore):
(WebCore::CCLayerTreeHostImpl::updateMaxScrollPosition):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(CCLayerTreeHostImpl):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp
Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.h