-
leviw@chromium.org authored
Reviewed by Hajime Morita. Add IntPoint + IntPoint operator https://bugs.webkit.org/show_bug.cgi?id=61876 Adding an operator+ convenience method to IntPoint that sums two points and returns the result as an IntPoint. Changing doImageDrag to use it as a proof of concept. No new tests since there is no change in behavior. * page/DragController.cpp: (WebCore::DragController::doImageDrag): * platform/graphics/IntPoint.h: (WebCore::operator+): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
bc0a3245