diff options
Diffstat (limited to 'ppapi/cpp/dev/scrollbar_dev.cc')
-rw-r--r-- | ppapi/cpp/dev/scrollbar_dev.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ppapi/cpp/dev/scrollbar_dev.cc b/ppapi/cpp/dev/scrollbar_dev.cc index d24d769..f5dc570 100644 --- a/ppapi/cpp/dev/scrollbar_dev.cc +++ b/ppapi/cpp/dev/scrollbar_dev.cc @@ -35,15 +35,10 @@ Scrollbar_Dev::Scrollbar_Dev(const Scrollbar_Dev& other) } Scrollbar_Dev& Scrollbar_Dev::operator=(const Scrollbar_Dev& other) { - Scrollbar_Dev copy(other); - swap(copy); + Resource::operator=(other); return *this; } -void Scrollbar_Dev::swap(Scrollbar_Dev& other) { - Resource::swap(other); -} - uint32_t Scrollbar_Dev::GetThickness() { if (!scrollbar_f) return 0; |