Prevent app list doodle from being pinch-to-zoomed.
[chromium-blink-merge.git] / ios / web / url_util.cc
blob4bd21721b5f7526f0bf7b852b456c5dcb7a5f754
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ios/web/public/url_util.h"
7 namespace web {
9 GURL GURLByRemovingRefFromGURL(const GURL& full_url) {
10 if (!full_url.has_ref())
11 return full_url;
13 GURL::Replacements replacements;
14 replacements.ClearRef();
15 return full_url.ReplaceComponents(replacements);
18 } // namespace web