[GTK] Fix pass_by_value coverity warning in ChromeClientGtk
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 May 2013 20:39:15 +0000 (20:39 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 May 2013 20:39:15 +0000 (20:39 +0000)
commitfbfeeae773e1359da35de19932717b7bab3c0ac1
treefb6f57e0c1d206ba585f2a6334e0f92e56bd644d
parent9766e9c11007cb25e6abbd9cbabd834913c4f781
[GTK] Fix pass_by_value coverity warning in ChromeClientGtk
https://bugs.webkit.org/show_bug.cgi?id=117021

Patch by Enrique Ocana Gonzalez <eocanha@igalia.com> on 2013-05-30
Reviewed by Anders Carlsson.

Pass dirtyRegion parameter in paintWebView() by reference to avoid object copying.

* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::paintWebView):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/gtk/ChangeLog
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp