Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: ppapi/cpp/dev/widget_dev.cc

Issue 5539001: Remove all the swap() stuff in the PPAPI C++ wrappers.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/cpp/dev/widget_dev.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/widget_dev.cc
===================================================================
--- ppapi/cpp/dev/widget_dev.cc (revision 67885)
+++ ppapi/cpp/dev/widget_dev.cc (working copy)
@@ -27,15 +27,10 @@
}
Widget_Dev& Widget_Dev::operator=(const Widget_Dev& other) {
- Widget_Dev copy(other);
- swap(copy);
+ Resource::operator=(other);
return *this;
}
-void Widget_Dev::swap(Widget_Dev& other) {
- Resource::swap(other);
-}
-
bool Widget_Dev::Paint(const Rect& rect, ImageData* image) {
if (!widget_f)
return false;
« no previous file with comments | « ppapi/cpp/dev/widget_dev.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698