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

Unified Diff: chrome/browser/printing/page_number.h

Issue 3149: Porting changes in chrome/{browser,common}, also enabling more unit tests.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 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
Index: chrome/browser/printing/page_number.h
===================================================================
--- chrome/browser/printing/page_number.h (revision 2402)
+++ chrome/browser/printing/page_number.h (working copy)
@@ -5,9 +5,7 @@
#ifndef CHROME_BROWSER_PRINTING_PAGE_NUMBER_H__
#define CHROME_BROWSER_PRINTING_PAGE_NUMBER_H__
-#ifdef _DEBUG
#include <ostream>
-#endif
#include "chrome/browser/printing/page_range.h"
@@ -65,8 +63,8 @@
// Debug output support.
template<class E, class T>
-inline std::basic_ostream<E,T>& operator<<(std::basic_ostream<E,T>& ss,
- const PageNumber& page) {
+inline typename std::basic_ostream<E,T>& operator<<(
+ typename std::basic_ostream<E,T>& ss, const PageNumber& page) {
return ss << page.ToInt();
}

Powered by Google App Engine
This is Rietveld 408576698