summaryrefslogtreecommitdiff
path: root/chromium/styleguide/c++/blink-c++.md
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/styleguide/c++/blink-c++.md')
-rw-r--r--chromium/styleguide/c++/blink-c++.md9
1 files changed, 3 insertions, 6 deletions
diff --git a/chromium/styleguide/c++/blink-c++.md b/chromium/styleguide/c++/blink-c++.md
index 25653fe07c0..4d7f765641e 100644
--- a/chromium/styleguide/c++/blink-c++.md
+++ b/chromium/styleguide/c++/blink-c++.md
@@ -47,13 +47,10 @@ FrameLoader::FrameLoader(LocalFrame* frame)
}
```
-## Prefer WTF types over STL types
+## Prefer WTF types over STL and base types
-Outside of `//third_party/blink/common`, Blink should use WTF types. STL string
-and container types should only be used at the boundary to interoperate with
-'//base', `//third_party/blink/common`, and other Chromium-side code.
-Similarly, Blink should prefer `KURL` over `GURL` and `SecurityOrigin` over
-`url::Origin`.
+See [Blink readme](../../third_party/blink/renderer/README.md#Type-dependencies)
+for more details on Blink directories and their type usage.
**Good:**
```c++