summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/net
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/net')
-rw-r--r--chrome/renderer/net/render_dns_master.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/renderer/net/render_dns_master.cc b/chrome/renderer/net/render_dns_master.cc
index 736c81e..beacec6 100644
--- a/chrome/renderer/net/render_dns_master.cc
+++ b/chrome/renderer/net/render_dns_master.cc
@@ -28,10 +28,7 @@ static const size_t kMAX_SUBMISSION_PER_TASK = 30;
RenderDnsMaster::RenderDnsMaster()
: c_string_queue_(1000),
-#pragma warning(push)
-#pragma warning(suppress: 4355) // Okay to pass "this" here.
- render_dns_factory_(this) {
-#pragma warning(pop)
+ ALLOW_THIS_IN_INITIALIZER_LIST(render_dns_factory_(this)) {
Reset();
}