One week after watching San Andreas, the 2015 disaster film that stars Dwayne "The Rock" Johnson as a heroic Los Angeles Fire Department Air Rescue pilot, 10-year-old Jacob O'Connor had a hero moment of his own.

After discovering his younger brother drowning in a pool, O'Connor pulled the two-year-old from the water, then immediately began performing CPR, just as he'd seen The Rock do in the film.

"The movie just popped up in my head and I started thinking about that scene," O'Connor told The Washington Post. "And that's when I started doing the compressions."

But if O'Connor was inspired by The Rock, the feeling was mutual, and on Tuesday in Vancouver, the pair of heroes met on the set of The Rock's latest blockbuster, Skyscraper, which is currently filming in Vancouver. Moved by the boy's quick thinking, The Rock flew the O'Connor family in from Michigan to give them the star treatment.

"Ladies and gentlemen, I finally met this real-life, 10-year-old hero, Jacob O'Connor," The Rock said in an Instagram post Tuesday morning. "He rescued his two-year-old brother after finding him facedown in their pool."

"I said, 'not only do I shake hands, but when I meet heroic kids, I give hugs, now get in here.' (...) Despite the fact I looked like nine ways of hell, battered and bloodied from my scenes, Jacob reluctantly gave me a hug."

But O'Connor got more than a hug on the Skyscraper set. He also got a tour of the craft services table, and all the snacks he could eat.

"I told Jacob and his brother Gavin that when kids visit my movie sets, it's like Willy Wonka's chocolate factory because children get to eat all the chocolate and sweets they want," The Rock said.

The Rock also met Jacob and Gavin's mother, Christa O'Connor, who was overcome with emotion.

"As you can imagine," The Rock said, "she's so proud of her son and even more, so grateful to have her boys."

According to The Rock, Jacob nervous and shy the whole time, which might have had something to do with the fact that The Rock showed up covered in movie blood. But according to Johnson, O'Connor eased into the meeting as it went along.

"It was fun to get him to laugh and talk," The Rock said.

In a video posted to Instagram, the Rock introduced O'Connor to his fans, before speaking to the ten-year-old "on behalf of the world."