Index: chrome/browser/printing/print_job_unittest.cc |
diff --git a/chrome/browser/printing/print_job_unittest.cc b/chrome/browser/printing/print_job_unittest.cc |
index fb737bcb0965d100ae059086647ee9bb25c728ea..757d6c8aec6a7104cd3b7bed644c602f7e3904d4 100644 |
--- a/chrome/browser/printing/print_job_unittest.cc |
+++ b/chrome/browser/printing/print_job_unittest.cc |
@@ -44,8 +44,8 @@ class TestOwner : public printing::PrintJobWorkerOwner { |
// That's fine for testing. It is actually simulating PrinterQuery behavior. |
TestPrintJobWorker* worker(new TestPrintJobWorker(new_owner)); |
EXPECT_TRUE(worker->Start()); |
- worker->printing_context().UseDefaultSettings(); |
- settings_ = worker->printing_context().settings(); |
+ worker->printing_context()->UseDefaultSettings(); |
+ settings_ = worker->printing_context()->settings(); |
return worker; |
} |
virtual MessageLoop* message_loop() { |