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

Unified Diff: content/browser/worker_host/worker_message_filter.cc

Issue 6679024: Removing 'off the record' references from TabRendererGtk. Contributed by vipul.bhasin@gmail.com (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove local variable and reference structure member directly Created 9 years, 9 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 | « chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/worker_host/worker_message_filter.cc
diff --git a/content/browser/worker_host/worker_message_filter.cc b/content/browser/worker_host/worker_message_filter.cc
index 378b48d109a0f0feb31048088e8a8f1b2e85006a..ece0944fc3df181be9ec876d489b6ce469b599b1 100644
--- a/content/browser/worker_host/worker_message_filter.cc
+++ b/content/browser/worker_host/worker_message_filter.cc
@@ -91,10 +91,10 @@ void WorkerMessageFilter::OnLookupSharedWorker(
bool* url_error) {
*route_id = next_routing_id_->Run();
- bool off_the_record = static_cast<ChromeURLRequestContext*>(
+ bool incognito = static_cast<ChromeURLRequestContext*>(
request_context_->GetURLRequestContext())->is_off_the_record();
WorkerService::GetInstance()->LookupSharedWorker(
- params, *route_id, this, off_the_record, exists, url_error);
+ params, *route_id, this, incognito, exists, url_error);
}
void WorkerMessageFilter::OnCancelCreateDedicatedWorker(int route_id) {
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698