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

Unified Diff: Source/wtf/PassOwnArrayPtr.h

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months 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 | « Source/wtf/OwnPtrCommon.h ('k') | Source/wtf/PassOwnPtr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/PassOwnArrayPtr.h
diff --git a/Source/wtf/PassOwnArrayPtr.h b/Source/wtf/PassOwnArrayPtr.h
index 8718f6530e259db05f7993ef4062b72dd9bab4df..724dba3bf41e4a4dffd17e97d54560ac9a6d92d1 100644
--- a/Source/wtf/PassOwnArrayPtr.h
+++ b/Source/wtf/PassOwnArrayPtr.h
@@ -20,7 +20,7 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef WTF_PassOwnArrayPtr_h
@@ -83,54 +83,54 @@ template<typename T> inline typename PassOwnArrayPtr<T>::PtrType PassOwnArrayPtr
return ptr;
}
-template<typename T, typename U> inline bool operator==(const PassOwnArrayPtr<T>& a, const PassOwnArrayPtr<U>& b)
+template<typename T, typename U> inline bool operator==(const PassOwnArrayPtr<T>& a, const PassOwnArrayPtr<U>& b)
{
- return a.get() == b.get();
+ return a.get() == b.get();
}
-template<typename T, typename U> inline bool operator==(const PassOwnArrayPtr<T>& a, const OwnArrayPtr<U>& b)
+template<typename T, typename U> inline bool operator==(const PassOwnArrayPtr<T>& a, const OwnArrayPtr<U>& b)
{
- return a.get() == b.get();
+ return a.get() == b.get();
}
-template<typename T, typename U> inline bool operator==(const OwnArrayPtr<T>& a, const PassOwnArrayPtr<U>& b)
+template<typename T, typename U> inline bool operator==(const OwnArrayPtr<T>& a, const PassOwnArrayPtr<U>& b)
{
- return a.get() == b.get();
+ return a.get() == b.get();
}
-template<typename T, typename U> inline bool operator==(const PassOwnArrayPtr<T>& a, U* b)
+template<typename T, typename U> inline bool operator==(const PassOwnArrayPtr<T>& a, U* b)
{
- return a.get() == b;
+ return a.get() == b;
}
-template<typename T, typename U> inline bool operator==(T* a, const PassOwnArrayPtr<U>& b)
+template<typename T, typename U> inline bool operator==(T* a, const PassOwnArrayPtr<U>& b)
{
- return a == b.get();
+ return a == b.get();
}
-template<typename T, typename U> inline bool operator!=(const PassOwnArrayPtr<T>& a, const PassOwnArrayPtr<U>& b)
+template<typename T, typename U> inline bool operator!=(const PassOwnArrayPtr<T>& a, const PassOwnArrayPtr<U>& b)
{
- return a.get() != b.get();
+ return a.get() != b.get();
}
-template<typename T, typename U> inline bool operator!=(const PassOwnArrayPtr<T>& a, const OwnArrayPtr<U>& b)
+template<typename T, typename U> inline bool operator!=(const PassOwnArrayPtr<T>& a, const OwnArrayPtr<U>& b)
{
- return a.get() != b.get();
+ return a.get() != b.get();
}
-template<typename T, typename U> inline bool operator!=(const OwnArrayPtr<T>& a, const PassOwnArrayPtr<U>& b)
+template<typename T, typename U> inline bool operator!=(const OwnArrayPtr<T>& a, const PassOwnArrayPtr<U>& b)
{
- return a.get() != b.get();
+ return a.get() != b.get();
}
template<typename T, typename U> inline bool operator!=(const PassOwnArrayPtr<T>& a, U* b)
{
- return a.get() != b;
+ return a.get() != b;
}
-template<typename T, typename U> inline bool operator!=(T* a, const PassOwnArrayPtr<U>& b)
+template<typename T, typename U> inline bool operator!=(T* a, const PassOwnArrayPtr<U>& b)
{
- return a != b.get();
+ return a != b.get();
}
template<typename T> inline PassOwnArrayPtr<T> adoptArrayPtr(T* ptr)
@@ -145,12 +145,12 @@ template<typename T> inline void deleteOwnedArrayPtr(T* ptr)
delete [] ptr;
}
-template<typename T, typename U> inline PassOwnArrayPtr<T> static_pointer_cast(const PassOwnArrayPtr<U>& p)
+template<typename T, typename U> inline PassOwnArrayPtr<T> static_pointer_cast(const PassOwnArrayPtr<U>& p)
{
return adoptArrayPtr(static_cast<T*>(p.leakPtr()));
}
-template<typename T, typename U> inline PassOwnArrayPtr<T> const_pointer_cast(const PassOwnArrayPtr<U>& p)
+template<typename T, typename U> inline PassOwnArrayPtr<T> const_pointer_cast(const PassOwnArrayPtr<U>& p)
{
return adoptArrayPtr(const_cast<T*>(p.leakPtr()));
}
« no previous file with comments | « Source/wtf/OwnPtrCommon.h ('k') | Source/wtf/PassOwnPtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698