Update CrxUpdateService Memcheck::Leak suppression to match new signature.
[chromium-blink-merge.git] / base / message_pump_wayland.cc
blob4d64c62d49adc24f1d1801cd861ea29b82231bb6
1 // Copyright (c) 2011 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 "base/message_pump_wayland.h"
7 #include <glib.h>
9 namespace base {
11 MessagePumpWayland::MessagePumpWayland()
12 : MessagePumpGlib(),
13 context_(g_main_context_default()) {
16 MessagePumpWayland::~MessagePumpWayland() {
19 bool MessagePumpWayland::RunOnce(GMainContext* context, bool block) {
20 // g_main_context_iteration returns true if events have been dispatched.
21 return g_main_context_iteration(context, block);
24 } // namespace base