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

Unified Diff: Source/core/dom/DOMURLUtilsReadOnly.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/dom/DOMURLUtilsReadOnly.h
diff --git a/Source/core/dom/DOMURLUtilsReadOnly.h b/Source/core/dom/DOMURLUtilsReadOnly.h
index 36d60851e3e88b9ed52929a4fc4cf5bbd0f28b58..7f49e8c5810b17405caa4a53d6fb4cdb29b95985 100644
--- a/Source/core/dom/DOMURLUtilsReadOnly.h
+++ b/Source/core/dom/DOMURLUtilsReadOnly.h
@@ -39,37 +39,37 @@ public:
virtual String input() const = 0;
virtual ~DOMURLUtilsReadOnly() { };
- static String href(DOMURLUtilsReadOnly*);
+ static String href(DOMURLUtilsReadOnly&);
static String origin(const KURL&);
- static String origin(DOMURLUtilsReadOnly* impl) { return origin(impl->url()); }
+ static String origin(DOMURLUtilsReadOnly& impl) { return origin(impl.url()); }
static String protocol(const KURL& url) { return url.protocol() + ":"; }
- static String protocol(DOMURLUtilsReadOnly* impl) { return protocol(impl->url()); }
+ static String protocol(DOMURLUtilsReadOnly& impl) { return protocol(impl.url()); }
static String username(const KURL& url) { return url.user(); }
- static String username(DOMURLUtilsReadOnly* impl) { return username(impl->url()); }
+ static String username(DOMURLUtilsReadOnly& impl) { return username(impl.url()); }
static String password(const KURL& url) { return url.pass(); }
- static String password(DOMURLUtilsReadOnly* impl) { return password(impl->url()); }
+ static String password(DOMURLUtilsReadOnly& impl) { return password(impl.url()); }
static String host(const KURL&);
- static String host(DOMURLUtilsReadOnly* impl) { return host(impl->url()); }
+ static String host(DOMURLUtilsReadOnly& impl) { return host(impl.url()); }
static String hostname(const KURL& url) { return url.host(); }
- static String hostname(DOMURLUtilsReadOnly* impl) { return hostname(impl->url()); }
+ static String hostname(DOMURLUtilsReadOnly& impl) { return hostname(impl.url()); }
static String port(const KURL&);
- static String port(DOMURLUtilsReadOnly* impl) { return port(impl->url()); }
+ static String port(DOMURLUtilsReadOnly& impl) { return port(impl.url()); }
static String pathname(const KURL& url) { return url.path(); }
- static String pathname(DOMURLUtilsReadOnly* impl) { return pathname(impl->url()); }
+ static String pathname(DOMURLUtilsReadOnly& impl) { return pathname(impl.url()); }
static String search(const KURL&);
- static String search(DOMURLUtilsReadOnly* impl) { return search(impl->url()); }
+ static String search(DOMURLUtilsReadOnly& impl) { return search(impl.url()); }
static String hash(const KURL&);
- static String hash(DOMURLUtilsReadOnly* impl) { return hash(impl->url()); }
+ static String hash(DOMURLUtilsReadOnly& impl) { return hash(impl.url()); }
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698