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

Unified Diff: Source/core/frame/NavigatorOnLine.h

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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: Source/core/frame/NavigatorOnLine.h
diff --git a/Source/core/frame/NavigatorOnLine.h b/Source/core/frame/NavigatorOnLine.h
index 5ae204d437cd42a3894667b72136fcf4cb32d8c9..7a89aa81a1062337ea5297676c93a308e43dc2f5 100644
--- a/Source/core/frame/NavigatorOnLine.h
+++ b/Source/core/frame/NavigatorOnLine.h
@@ -35,9 +35,11 @@
namespace WebCore {
+class NavigatorBase;
+
class NavigatorOnLine {
public:
- static bool onLine(void*)
+ static bool onLine(NavigatorBase&)
{
return networkStateNotifier().onLine();
}

Powered by Google App Engine
This is Rietveld 408576698