summaryrefslogtreecommitdiffstats
path: root/printing/printed_document.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 06:48:03 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 06:48:03 +0000
commit0c81ba665bab0e37ff9b82fdfd71d136044d5c96 (patch)
tree5a21c9c4a037864ea99a1f27fb0225ce446d9634 /printing/printed_document.cc
parent161edaf25848c8a50d943ee6e7b862d2b3a6d18f (diff)
downloadchromium_src-0c81ba665bab0e37ff9b82fdfd71d136044d5c96.zip
chromium_src-0c81ba665bab0e37ff9b82fdfd71d136044d5c96.tar.gz
chromium_src-0c81ba665bab0e37ff9b82fdfd71d136044d5c96.tar.bz2
Cleanup: Remove unused PrintedDocument::RenderPrintedPageNumber().
BUG=none TEST=none Review URL: http://codereview.chromium.org/5948002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69522 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printed_document.cc')
-rw-r--r--printing/printed_document.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/printing/printed_document.cc b/printing/printed_document.cc
index 0880da5..2369618 100644
--- a/printing/printed_document.cc
+++ b/printing/printed_document.cc
@@ -102,15 +102,6 @@ bool PrintedDocument::GetPage(int page_number,
return false;
}
-bool PrintedDocument::RenderPrintedPageNumber(
- int page_number, gfx::NativeDrawingContext context) {
- scoped_refptr<PrintedPage> page;
- if (!GetPage(page_number, &page))
- return false;
- RenderPrintedPage(*page.get(), context);
- return true;
-}
-
bool PrintedDocument::IsComplete() const {
AutoLock lock(lock_);
if (!mutable_.page_count_)