• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2019 The Chromium Embedded Framework Authors. All rights
2 // reserved. Use of this source code is governed by a BSD-style license that can
3 // be found in the LICENSE file.
4 
5 #include "libcef/common/frame_util.h"
6 
7 namespace frame_util {
8 
MakeFrameId(int32_t render_process_id,int32_t render_routing_id)9 int64_t MakeFrameId(int32_t render_process_id, int32_t render_routing_id) {
10   return (static_cast<uint64_t>(render_process_id) << 32) |
11          static_cast<uint64_t>(render_routing_id);
12 }
13 
14 }  // namespace frame_util
15