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

Unified Diff: ppapi/cpp/dev/font_dev.h

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/file_ref_dev.cc ('k') | ppapi/cpp/dev/font_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/font_dev.h
===================================================================
--- ppapi/cpp/dev/font_dev.h (revision 67885)
+++ ppapi/cpp/dev/font_dev.h (working copy)
@@ -35,7 +35,6 @@
}
FontDescription_Dev& operator=(const FontDescription_Dev& other);
- void swap(FontDescription_Dev& other);
Var face() const { return face_; }
void set_face(const Var& face) {
@@ -81,13 +80,12 @@
public:
TextRun_Dev();
TextRun_Dev(const std::string& text,
- bool rtl = false,
- bool override_direction = false);
+ bool rtl = false,
+ bool override_direction = false);
TextRun_Dev(const TextRun_Dev& other);
~TextRun_Dev();
TextRun_Dev& operator=(const TextRun_Dev& other);
- void swap(TextRun_Dev& other);
const PP_TextRun_Dev& pp_text_run() const {
return pp_text_run_;
@@ -111,7 +109,6 @@
Font_Dev(const Font_Dev& other);
Font_Dev& operator=(const Font_Dev& other);
- void swap(Font_Dev& other);
// PPB_Font methods:
bool Describe(FontDescription_Dev* description,
« no previous file with comments | « ppapi/cpp/dev/file_ref_dev.cc ('k') | ppapi/cpp/dev/font_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698